Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.303/2.303, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.89 kB / 0.8689 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.489, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005155/0.4942, allocations: 4.403 MB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.4967, allocations: 1.839 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.4969, allocations: 11.94 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.4982, allocations: 0.5759 MB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.4987, allocations: 238.9 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.4992, allocations: 231.5 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.4997, allocations: 0.6151 MB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.5003, allocations: 0.5049 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.5005, allocations: 243.2 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.5009, allocations: 283 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.5009, allocations: 36 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.5012, allocations: 251.5 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.5014, allocations: 155.5 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.5015, allocations: 215 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.5021, allocations: 0.623 MB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5021, allocations: 3.938 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5021, allocations: 0 / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.5021, allocations: 7.938 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009747/0.5031, allocations: 0.7213 MB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.5031, allocations: 8.031 kB / 1.028 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.081e-05/0.5032, allocations: 82.7 kB / 1.028 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.5041, allocations: 144.3 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.5044, allocations: 326.5 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.5044, allocations: 25.38 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.5045, allocations: 36.36 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.5052, allocations: 0.5393 MB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5052, allocations: 0 / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.5052, allocations: 16 kB / 1.029 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.5053, allocations: 28.64 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.5058, allocations: 386.3 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.5079, allocations: 2.411 MB / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.5083, allocations: 260.2 kB / 1.032 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.5085, allocations: 112.8 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.5085, allocations: 3.984 kB / 1.032 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5085, allocations: 42.56 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.5085, allocations: 0 / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001853/0.5104, allocations: 1.122 MB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.5104, allocations: 55.41 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.5107, allocations: 308.3 kB / 1.033 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5107, allocations: 29.7 kB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5108, allocations: 231.6 kB / 1.034 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.5109, allocations: 78.86 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.511, allocations: 61.94 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.5111, allocations: 342.8 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.5112, allocations: 100.6 kB / 1.034 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.5114, allocations: 191.7 kB / 1.034 GB, free: 352 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.5117, allocations: 313.6 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5118, allocations: 0 / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006552/0.5124, allocations: 443.2 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5124, allocations: 8 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5124, allocations: 4.344 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.5128, allocations: 102.4 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.513, allocations: 59.91 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.5157, allocations: 4.403 MB / 1.039 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.5159, allocations: 12 kB / 1.039 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.5159, allocations: 12 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.5161, allocations: 190.2 kB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.5161, allocations: 31.56 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.5162, allocations: 42.31 kB / 1.04 GB, free: 10.26 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5162, allocations: 4 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.5162, allocations: 0 / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5162, allocations: 3.984 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.5166, allocations: 393.4 kB / 1.04 GB, free: 9.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5166, allocations: 7.938 kB / 1.04 GB, free: 9.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.5168, allocations: 31.98 kB / 1.04 GB, free: 9.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.5171, allocations: 90.5 kB / 1.04 GB, free: 9.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.5171, allocations: 8 kB / 1.04 GB, free: 9.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.5197, allocations: 4.392 MB / 1.045 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5197, allocations: 3.938 kB / 1.045 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.5204, allocations: 0.5574 MB / 1.045 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5205, allocations: 120.8 kB / 1.045 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.5206, allocations: 7.984 kB / 1.045 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.5208, allocations: 12 kB / 1.045 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.5208, allocations: 23.91 kB / 1.045 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5208, allocations: 4 kB / 1.045 GB, free: 4.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001704/0.521, allocations: 211.1 kB / 1.045 GB, free: 3.887 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.521, allocations: 4 kB / 1.045 GB, free: 3.883 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003662/0.5214, allocations: 96 kB / 1.046 GB, free: 3.789 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009107/0.5223, allocations: 1.099 MB / 1.047 GB, free: 2.656 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007122/0.523, allocations: 0.6293 MB / 1.047 GB, free: 1.988 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5231, allocations: 0 / 1.047 GB, free: 1.988 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.5235, allocations: 472.7 kB / 1.048 GB, free: 1.488 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.5239, allocations: 80.03 kB / 1.048 GB, free: 1.414 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.5274, allocations: 3.539 MB / 1.051 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5278, allocations: 0.8311 MB / 1.052 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000179/0.5279, allocations: 54.94 kB / 1.052 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5281, allocations: 111.4 kB / 1.052 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.5281, allocations: 0 / 1.052 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8595/1.388, allocations: 7.579 MB / 1.06 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/1.388, allocations: 221.9 kB / 1.06 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/3.322, allocations: 0 / 1.06 GB, free: 5.031 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches