Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 1.134 GB, free: 13.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2398/1.41, allocations: 162.9 MB / 1.463 GB, free: 9.746 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006873/1.417, allocations: 2.937 MB / 1.466 GB, free: 7.676 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/1.418, allocations: 18.72 kB / 1.466 GB, free: 7.668 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/1.419, allocations: 215.5 kB / 1.466 GB, free: 7.555 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/1.422, allocations: 0.8 MB / 1.467 GB, free: 7.113 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/1.423, allocations: 348.6 kB / 1.467 GB, free: 6.918 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002166/1.426, allocations: 0.9404 MB / 1.468 GB, free: 6.484 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/1.426, allocations: 219.4 kB / 1.468 GB, free: 6.371 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/1.427, allocations: 383.4 kB / 1.469 GB, free: 6.199 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/1.429, allocations: 308.4 kB / 1.469 GB, free: 6.07 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.429, allocations: 33.88 kB / 1.469 GB, free: 6.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/1.431, allocations: 0.6851 MB / 1.47 GB, free: 5.801 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/1.431, allocations: 137.1 kB / 1.47 GB, free: 5.734 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004635/1.432, allocations: 212.9 kB / 1.47 GB, free: 5.613 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/1.434, allocations: 0.7505 MB / 1.471 GB, free: 5.348 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.434, allocations: 1.094 kB / 1.471 GB, free: 5.348 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.974e-06/1.434, allocations: 0 / 1.471 GB, free: 5.348 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.434, allocations: 3.938 kB / 1.471 GB, free: 5.344 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001933/1.436, allocations: 0.7243 MB / 1.472 GB, free: 4.762 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.436, allocations: 10.38 kB / 1.472 GB, free: 4.762 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/1.437, allocations: 60.33 kB / 1.472 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/1.438, allocations: 138.2 kB / 1.472 GB, free: 4.668 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/1.439, allocations: 421.1 kB / 1.472 GB, free: 4.297 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/1.439, allocations: 22.47 kB / 1.472 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/1.439, allocations: 28.45 kB / 1.472 GB, free: 4.273 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/1.439, allocations: 282.5 kB / 1.472 GB, free: 4.09 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.44, allocations: 0 / 1.472 GB, free: 4.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/1.44, allocations: 10.59 kB / 1.472 GB, free: 4.082 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/1.44, allocations: 10.31 kB / 1.472 GB, free: 4.082 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/1.44, allocations: 205.7 kB / 1.473 GB, free: 3.977 MB / 1.154 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.002425/1.442, allocations: 1.315 MB / 1.474 GB, free: 2.75 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.443, allocations: 181.7 kB / 1.474 GB, free: 2.648 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/1.443, allocations: 84.2 kB / 1.474 GB, free: 2.602 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/1.443, allocations: 2.844 kB / 1.474 GB, free: 2.602 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.443, allocations: 43.67 kB / 1.474 GB, free: 2.551 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.274e-06/1.443, allocations: 0 / 1.474 GB, free: 2.551 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001197/1.444, allocations: 403.4 kB / 1.475 GB, free: 2.277 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.444, allocations: 53.66 kB / 1.475 GB, free: 2.215 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/1.445, allocations: 298.3 kB / 1.475 GB, free: 2.023 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/1.445, allocations: 39.81 kB / 1.475 GB, free: 1.98 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.445, allocations: 190.1 kB / 1.475 GB, free: 1.809 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.445, allocations: 71.8 kB / 1.475 GB, free: 1.746 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/1.445, allocations: 44.98 kB / 1.475 GB, free: 1.711 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.445, allocations: 342 kB / 1.476 GB, free: 1.375 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/1.445, allocations: 63.42 kB / 1.476 GB, free: 1.344 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/1.446, allocations: 125.5 kB / 1.476 GB, free: 1.238 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/1.446, allocations: 193.3 kB / 1.476 GB, free: 1.102 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.446, allocations: 1.25 kB / 1.476 GB, free: 1.102 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004852/1.446, allocations: 252.8 kB / 1.476 GB, free: 0.957 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.446, allocations: 7.781 kB / 1.476 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.446, allocations: 1.562 kB / 1.476 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.447, allocations: 7 kB / 1.476 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/1.447, allocations: 47.36 kB / 1.476 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.447, allocations: 2.25 kB / 1.476 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/1.447, allocations: 12.58 kB / 1.476 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/1.447, allocations: 19.33 kB / 1.476 GB, free: 0.9219 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002605/1.447, allocations: 167 kB / 1.476 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.448, allocations: 38.95 kB / 1.477 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/1.448, allocations: 40.17 kB / 1.477 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.448, allocations: 5.344 kB / 1.477 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.448, allocations: 1.312 kB / 1.477 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.448, allocations: 0 / 1.477 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/1.448, allocations: 394.3 kB / 1.477 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.448, allocations: 3.984 kB / 1.477 GB, free: 364 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.449, allocations: 45.31 kB / 1.477 GB, free: 344 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/1.449, allocations: 43.39 kB / 1.477 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.449, allocations: 5.344 kB / 1.477 GB, free: 312 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/1.451, allocations: 1.507 MB / 1.478 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.451, allocations: 9.266 kB / 1.479 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/1.451, allocations: 404.2 kB / 1.479 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/1.452, allocations: 126.1 kB / 1.479 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/1.452, allocations: 10.34 kB / 1.479 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/1.452, allocations: 5.875 kB / 1.479 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/1.452, allocations: 10.42 kB / 1.479 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/1.452, allocations: 13.25 kB / 1.479 GB, free: 14.34 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003348/1.452, allocations: 212.6 kB / 1.479 GB, free: 14.2 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.452, allocations: 0 / 1.479 GB, free: 14.2 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005517/1.453, allocations: 112.7 kB / 1.479 GB, free: 14.18 MB / 1.17 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.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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,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.001194/1.454, allocations: 0.9492 MB / 1.48 GB, free: 13.36 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000399/1.454, allocations: 152.5 kB / 1.48 GB, free: 13.29 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.454, allocations: 5.219 kB / 1.48 GB, free: 13.29 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/1.455, allocations: 203.4 kB / 1.481 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.456, allocations: 200.8 kB / 1.481 GB, free: 13.02 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/1.461, allocations: 2.936 MB / 1.484 GB, free: 10.81 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/1.461, allocations: 0.796 MB / 1.484 GB, free: 10.05 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004242/1.462, allocations: 60.88 kB / 1.485 GB, free: 10.02 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.462, allocations: 102 kB / 1.485 GB, free: 9.941 MB / 1.17 GB Notification: Performance of SimCode: time 1.163e-06/1.462, allocations: 0.7812 kB / 1.485 GB, free: 9.941 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04721/1.509, allocations: 9.06 MB / 1.493 GB, free: 4.945 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/12.32, allocations: 8 kB / 1.493 GB, free: 4.938 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.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: 18.79110193764791]