Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9109/0.9109, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.597e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5722/0.5722, allocations: 143.6 MB / 1.121 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.5762, allocations: 3.323 MB / 1.124 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.5769, allocations: 23.34 kB / 1.124 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.5777, allocations: 276.6 kB / 1.125 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.5798, allocations: 0.9544 MB / 1.126 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.5808, allocations: 466.3 kB / 1.126 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.5821, allocations: 1.145 MB / 1.127 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.5825, allocations: 280 kB / 1.127 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.5833, allocations: 0.5816 MB / 1.128 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.584, allocations: 327.2 kB / 1.128 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.5841, allocations: 41.03 kB / 1.128 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.5852, allocations: 0.5888 MB / 1.129 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.5853, allocations: 178 kB / 1.129 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.5855, allocations: 185 kB / 1.129 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.5866, allocations: 0.9478 MB / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5866, allocations: 0 / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5866, allocations: 0.7031 kB / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5866, allocations: 4.969 kB / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001004/0.5876, allocations: 0.8141 MB / 1.131 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5877, allocations: 9.844 kB / 1.131 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.5877, allocations: 63.78 kB / 1.131 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.5883, allocations: 162.2 kB / 1.131 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.5889, allocations: 447.5 kB / 1.132 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.5889, allocations: 21.02 kB / 1.132 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.589, allocations: 32.16 kB / 1.132 GB, free: 10 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.5894, allocations: 425.2 kB / 1.132 GB, free: 9.727 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5895, allocations: 5.312 kB / 1.132 GB, free: 9.727 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5895, allocations: 15.22 kB / 1.132 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.5895, allocations: 11.33 kB / 1.132 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.5898, allocations: 220.8 kB / 1.132 GB, free: 9.645 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.591, allocations: 0.9639 MB / 1.133 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.5913, allocations: 214.8 kB / 1.133 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.5914, allocations: 101.1 kB / 1.134 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.5914, allocations: 2.625 kB / 1.134 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.5916, allocations: 274.3 kB / 1.134 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.5916, allocations: 0 / 1.134 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001687/0.5933, allocations: 1.034 MB / 1.135 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.5933, allocations: 56.23 kB / 1.135 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.5937, allocations: 476.6 kB / 1.135 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.5937, allocations: 37.05 kB / 1.135 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5938, allocations: 240.9 kB / 1.136 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.5939, allocations: 108.5 kB / 1.136 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.594, allocations: 75.55 kB / 1.136 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.5941, allocations: 356.9 kB / 1.136 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5942, allocations: 127.8 kB / 1.136 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.5944, allocations: 188 kB / 1.136 GB, free: 7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.5947, allocations: 315.1 kB / 1.137 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5947, allocations: 0 / 1.137 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005918/0.5953, allocations: 498.7 kB / 1.137 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5953, allocations: 6.859 kB / 1.137 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5953, allocations: 5.312 kB / 1.137 GB, free: 6.598 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.5955, allocations: 82.05 kB / 1.137 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.5957, allocations: 60.89 kB / 1.137 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.5967, allocations: 1.793 MB / 1.139 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.5969, allocations: 17.72 kB / 1.139 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5969, allocations: 14.53 kB / 1.139 GB, free: 4.949 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.5971, allocations: 192.8 kB / 1.139 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.5971, allocations: 47.03 kB / 1.139 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.5977, allocations: 417.4 kB / 1.14 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5977, allocations: 3 kB / 1.14 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5977, allocations: 1.312 kB / 1.14 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5977, allocations: 2.844 kB / 1.14 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5987, allocations: 0.8907 MB / 1.141 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5987, allocations: 4.781 kB / 1.141 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.5989, allocations: 63.94 kB / 1.141 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.5991, allocations: 85.92 kB / 1.141 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.5991, allocations: 8.672 kB / 1.141 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00072/0.5998, allocations: 1.54 MB / 1.142 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5998, allocations: 3.938 kB / 1.142 GB, free: 2.594 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.6004, allocations: 0.5739 MB / 1.143 GB, free: 2.277 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.6005, allocations: 84.72 kB / 1.143 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.6006, allocations: 12.55 kB / 1.143 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6007, allocations: 12.59 kB / 1.143 GB, free: 2.215 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.6008, allocations: 22.7 kB / 1.143 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.6008, allocations: 12.81 kB / 1.143 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002532/0.6011, allocations: 313.9 kB / 1.143 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6011, allocations: 0 / 1.143 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004076/0.6015, allocations: 127.7 kB / 1.143 GB, free: 2.047 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.603, allocations: 1.489 MB / 1.145 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005265/0.6036, allocations: 413.9 kB / 1.145 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6036, allocations: 1.625 kB / 1.145 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.6038, allocations: 244.4 kB / 1.146 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.6045, allocations: 244.9 kB / 1.146 GB, free: 0.6328 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.6091, allocations: 4.119 MB / 1.15 GB, free: 14.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.6093, allocations: 254.4 kB / 1.15 GB, free: 14.13 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002938/0.6096, allocations: 87.44 kB / 1.15 GB, free: 14.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.6098, allocations: 163.3 kB / 1.15 GB, free: 13.98 MB / 1.01 GB Notification: Performance of SimCode: time 7.72e-07/0.6098, allocations: 0 / 1.15 GB, free: 13.98 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.6433, allocations: 14.71 MB / 1.165 GB, free: 11.63 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.352, allocations: 9.156 kB / 1.165 GB, free: 11.62 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.528577484190464]