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.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.000809/0.000809, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008362/0.0008362, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.907/0.907, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.786/1.786, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.412e-06/1.412e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.446e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6399/0.6399, allocations: 143.1 MB / 1.139 GB, free: 10.79 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.6431, allocations: 2.745 MB / 1.142 GB, free: 8.938 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.6434, allocations: 18.88 kB / 1.142 GB, free: 8.93 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.644, allocations: 204.3 kB / 1.142 GB, free: 8.82 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.6454, allocations: 0.8295 MB / 1.143 GB, free: 8.355 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.6459, allocations: 358 kB / 1.143 GB, free: 8.16 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009481/0.6469, allocations: 0.9788 MB / 1.144 GB, free: 7.691 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.6471, allocations: 213.4 kB / 1.145 GB, free: 7.586 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.6477, allocations: 499.7 kB / 1.145 GB, free: 7.367 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.6484, allocations: 268 kB / 1.145 GB, free: 7.285 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.6484, allocations: 32.56 kB / 1.145 GB, free: 7.285 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.6491, allocations: 0.542 MB / 1.146 GB, free: 7.078 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.6492, allocations: 145.9 kB / 1.146 GB, free: 7.004 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.6494, allocations: 147.6 kB / 1.146 GB, free: 6.945 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008637/0.6502, allocations: 0.7601 MB / 1.147 GB, free: 6.684 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6503, allocations: 0 / 1.147 GB, free: 6.684 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6503, allocations: 1.094 kB / 1.147 GB, free: 6.684 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6503, allocations: 0 / 1.147 GB, free: 6.684 MB / 1.01 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.000861/0.6511, allocations: 0.657 MB / 1.148 GB, free: 6.188 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6512, allocations: 9.438 kB / 1.148 GB, free: 6.188 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.6512, allocations: 60.86 kB / 1.148 GB, free: 6.133 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.6518, allocations: 139.2 kB / 1.148 GB, free: 6.102 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.6523, allocations: 355.9 kB / 1.148 GB, free: 5.852 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.6523, allocations: 21.97 kB / 1.148 GB, free: 5.84 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.6524, allocations: 29.41 kB / 1.148 GB, free: 5.828 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.6528, allocations: 375.2 kB / 1.148 GB, free: 5.574 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6528, allocations: 0 / 1.148 GB, free: 5.574 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.6529, allocations: 15.39 kB / 1.148 GB, free: 5.566 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.6529, allocations: 9.797 kB / 1.148 GB, free: 5.566 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.6532, allocations: 203.8 kB / 1.149 GB, free: 5.496 MB / 1.01 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.001184/0.6544, allocations: 0.8321 MB / 1.15 GB, free: 4.941 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.6547, allocations: 183.8 kB / 1.15 GB, free: 4.855 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.6548, allocations: 84.38 kB / 1.15 GB, free: 4.816 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.6548, allocations: 6.125 kB / 1.15 GB, free: 4.812 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6548, allocations: 33.7 kB / 1.15 GB, free: 4.773 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.6548, allocations: 5.094 kB / 1.15 GB, free: 4.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0006411/0.6554, allocations: 320.4 kB / 1.15 GB, free: 4.633 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.6555, allocations: 61.78 kB / 1.15 GB, free: 4.562 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.6557, allocations: 303.2 kB / 1.15 GB, free: 4.402 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.6558, allocations: 31.17 kB / 1.15 GB, free: 4.367 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6559, allocations: 200.2 kB / 1.151 GB, free: 4.199 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.6559, allocations: 73.94 kB / 1.151 GB, free: 4.141 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.656, allocations: 43.56 kB / 1.151 GB, free: 4.109 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6561, allocations: 340 kB / 1.151 GB, free: 3.785 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.6562, allocations: 62.73 kB / 1.151 GB, free: 3.762 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.6563, allocations: 112.5 kB / 1.151 GB, free: 3.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.6565, allocations: 199.8 kB / 1.151 GB, free: 3.547 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6565, allocations: 1.406 kB / 1.151 GB, free: 3.547 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002847/0.6568, allocations: 244.6 kB / 1.152 GB, free: 3.426 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6568, allocations: 6.312 kB / 1.152 GB, free: 3.426 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6568, allocations: 2.734 kB / 1.152 GB, free: 3.426 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6568, allocations: 6.219 kB / 1.152 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.6569, allocations: 48.36 kB / 1.152 GB, free: 3.414 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.6569, allocations: 3.797 kB / 1.152 GB, free: 3.414 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.6571, allocations: 19.86 kB / 1.152 GB, free: 3.398 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.6571, allocations: 10.72 kB / 1.152 GB, free: 3.395 MB / 1.01 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.0001215/0.6572, allocations: 158.9 kB / 1.152 GB, free: 3.254 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.6572, allocations: 31.28 kB / 1.152 GB, free: 3.238 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.6573, allocations: 35.48 kB / 1.152 GB, free: 3.219 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6573, allocations: 10.44 kB / 1.152 GB, free: 3.211 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6573, allocations: 1.062 kB / 1.152 GB, free: 3.211 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6573, allocations: 1.219 kB / 1.152 GB, free: 3.211 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.6577, allocations: 330.2 kB / 1.152 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6577, allocations: 0 / 1.152 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/0.6578, allocations: 29.84 kB / 1.152 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.6579, allocations: 44.27 kB / 1.152 GB, free: 2.957 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6579, allocations: 5.547 kB / 1.152 GB, free: 2.953 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009074/0.6588, allocations: 1.403 MB / 1.154 GB, free: 1.605 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6588, allocations: 8 kB / 1.154 GB, free: 1.598 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.6592, allocations: 402.3 kB / 1.154 GB, free: 1.348 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.6593, allocations: 52.16 kB / 1.154 GB, free: 1.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.6594, allocations: 6.844 kB / 1.154 GB, free: 1.316 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6595, allocations: 11.33 kB / 1.154 GB, free: 1.309 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.6595, allocations: 15.78 kB / 1.154 GB, free: 1.305 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.6595, allocations: 14.25 kB / 1.154 GB, free: 1.297 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001711/0.6597, allocations: 213.1 kB / 1.154 GB, free: 1.184 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6597, allocations: 0 / 1.154 GB, free: 1.184 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000279/0.66, allocations: 108.8 kB / 1.155 GB, free: 1.164 MB / 1.01 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.0006805/0.6607, allocations: 0.9396 MB / 1.155 GB, free: 388 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.6609, allocations: 156.8 kB / 1.156 GB, free: 332 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6609, allocations: 0 / 1.156 GB, free: 332 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.6611, allocations: 202.1 kB / 1.156 GB, free: 180 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.6618, allocations: 190.7 kB / 1.156 GB, free: 136 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.6644, allocations: 2.859 MB / 1.159 GB, free: 14.18 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.6646, allocations: 191.8 kB / 1.159 GB, free: 14.09 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.6648, allocations: 61.98 kB / 1.159 GB, free: 14.07 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.6649, allocations: 108.3 kB / 1.159 GB, free: 13.99 MB / 1.026 GB Notification: Performance of SimCode: time 6.11e-07/0.6649, allocations: 0 / 1.159 GB, free: 13.99 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.6913, allocations: 10.36 MB / 1.169 GB, free: 12.29 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/8.215, allocations: 12.64 kB / 1.169 GB, free: 12.28 MB / 1.026 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.344350628554821]