Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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.0008216/0.0008216, 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.0008615/0.0008615, 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.8577/0.8577, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.738/1.738, allocations: 377.8 MB / 0.6221 GB, free: 8.695 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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.109e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.5793/0.5793, allocations: 189.1 MB / 1.166 GB, free: 1.387 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.5905, allocations: 9.473 MB / 1.175 GB, free: 10.98 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.592, allocations: 51.06 kB / 1.175 GB, free: 10.96 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.5939, allocations: 0.7998 MB / 1.176 GB, free: 10.53 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.006441/0.6004, allocations: 3.093 MB / 1.179 GB, free: 8.852 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.6037, allocations: 1.469 MB / 1.18 GB, free: 8.074 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.6079, allocations: 3.278 MB / 1.183 GB, free: 6.527 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.6092, allocations: 0.7723 MB / 1.184 GB, free: 6.152 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.6121, allocations: 1.699 MB / 1.186 GB, free: 5.422 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.6142, allocations: 0.9934 MB / 1.187 GB, free: 5.105 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.6145, allocations: 122 kB / 1.187 GB, free: 5.105 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.6189, allocations: 2.269 MB / 1.189 GB, free: 4.23 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0007676/0.6197, allocations: 0.5418 MB / 1.19 GB, free: 3.965 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.6207, allocations: 0.5232 MB / 1.19 GB, free: 3.758 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.6262, allocations: 2.832 MB / 1.193 GB, free: 2.816 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6262, allocations: 1.156 kB / 1.193 GB, free: 2.816 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6262, allocations: 0 / 1.193 GB, free: 2.816 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.871e-05/0.6262, allocations: 4 kB / 1.193 GB, free: 2.812 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003482/0.6297, allocations: 1.749 MB / 1.195 GB, free: 1.762 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.6297, allocations: 9.688 kB / 1.195 GB, free: 1.762 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.6299, allocations: 151.4 kB / 1.195 GB, free: 1.664 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.6316, allocations: 438.6 kB / 1.195 GB, free: 1.555 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.633, allocations: 0.8254 MB / 1.196 GB, free: 1.062 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.6331, allocations: 73.23 kB / 1.196 GB, free: 1.027 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.6332, allocations: 94.59 kB / 1.196 GB, free: 0.9961 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6348, allocations: 1.404 MB / 1.198 GB, free: 244 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.6349, allocations: 5.172 kB / 1.198 GB, free: 240 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.6349, allocations: 41.62 kB / 1.198 GB, free: 208 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/0.635, allocations: 49.42 kB / 1.198 GB, free: 204 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.6363, allocations: 1.065 MB / 1.199 GB, free: 15.83 MB / 1.042 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.004113/0.6404, allocations: 3.134 MB / 1.202 GB, free: 13.56 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.6414, allocations: 0.8032 MB / 1.202 GB, free: 13.13 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.6421, allocations: 0.5748 MB / 1.203 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.6423, allocations: 75.97 kB / 1.203 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.6423, allocations: 42.19 kB / 1.203 GB, free: 12.77 MB / 1.042 GB Notification: Performance of pre-optimization done (n=82): time 4.028e-06/0.6423, allocations: 7.938 kB / 1.203 GB, free: 12.77 MB / 1.042 GB Notification: Performance of matching and sorting (n=83): time 0.003076/0.6454, allocations: 2.239 MB / 1.205 GB, free: 11.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.6455, allocations: 60.62 kB / 1.205 GB, free: 11.43 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.646, allocations: 0.6413 MB / 1.206 GB, free: 11.06 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.6461, allocations: 40.55 kB / 1.206 GB, free: 11.02 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.6463, allocations: 467 kB / 1.207 GB, free: 10.61 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.6465, allocations: 304.8 kB / 1.207 GB, free: 10.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.6466, allocations: 137.3 kB / 1.207 GB, free: 10.26 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003347/0.647, allocations: 397.3 kB / 1.207 GB, free: 9.883 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.6474, allocations: 323.7 kB / 1.208 GB, free: 9.723 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.6477, allocations: 428.3 kB / 1.208 GB, free: 9.453 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007756/0.6485, allocations: 0.7808 MB / 1.209 GB, free: 9 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6485, allocations: 2.281 kB / 1.209 GB, free: 9 MB / 1.042 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001097/0.6496, allocations: 0.9506 MB / 1.21 GB, free: 8.504 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6496, allocations: 5.031 kB / 1.21 GB, free: 8.504 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6496, allocations: 3 kB / 1.21 GB, free: 8.504 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.6499, allocations: 59.67 kB / 1.21 GB, free: 8.477 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.6503, allocations: 155.5 kB / 1.21 GB, free: 8.441 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/0.6506, allocations: 0.6129 MB / 1.211 GB, free: 7.867 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.6512, allocations: 28.16 kB / 1.211 GB, free: 7.848 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.6512, allocations: 26.66 kB / 1.211 GB, free: 7.84 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004228/0.6516, allocations: 303.1 kB / 1.211 GB, free: 7.609 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6518, allocations: 96.53 kB / 1.211 GB, free: 7.559 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.6528, allocations: 0.9264 MB / 1.212 GB, free: 7.016 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.6528, allocations: 8.469 kB / 1.212 GB, free: 7.016 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6528, allocations: 0 / 1.212 GB, free: 7.016 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007896/0.6536, allocations: 0.9257 MB / 1.213 GB, free: 6.414 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.6559, allocations: 1.923 MB / 1.215 GB, free: 5.215 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6559, allocations: 4 kB / 1.215 GB, free: 5.211 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.6564, allocations: 184.5 kB / 1.215 GB, free: 5.176 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.6564, allocations: 2.875 kB / 1.215 GB, free: 5.176 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.6565, allocations: 20.8 kB / 1.215 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6565, allocations: 2.938 kB / 1.215 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.6565, allocations: 10.66 kB / 1.215 GB, free: 5.152 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.6578, allocations: 1.39 MB / 1.216 GB, free: 4.375 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.6583, allocations: 180.7 kB / 1.216 GB, free: 4.25 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.6583, allocations: 21.19 kB / 1.216 GB, free: 4.234 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.6587, allocations: 27.89 kB / 1.216 GB, free: 4.215 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.6588, allocations: 55.39 kB / 1.217 GB, free: 4.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.6588, allocations: 19.75 kB / 1.217 GB, free: 4.176 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004155/0.6592, allocations: 461.9 kB / 1.217 GB, free: 3.914 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6592, allocations: 3.938 kB / 1.217 GB, free: 3.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007389/0.66, allocations: 315.7 kB / 1.217 GB, free: 3.883 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.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 (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.002096/0.6621, allocations: 2.049 MB / 1.219 GB, free: 2.52 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.6631, allocations: 0.7827 MB / 1.22 GB, free: 2.145 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6631, allocations: 1.969 kB / 1.22 GB, free: 2.145 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.6635, allocations: 415 kB / 1.22 GB, free: 1.957 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.6651, allocations: 0.5907 MB / 1.221 GB, free: 1.66 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.6735, allocations: 7.404 MB / 1.228 GB, free: 12.46 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.6739, allocations: 0.5319 MB / 1.229 GB, free: 11.9 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.6747, allocations: 243.8 kB / 1.229 GB, free: 11.66 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/0.6755, allocations: 392.4 kB / 1.229 GB, free: 11.27 MB / 1.057 GB Notification: Performance of SimCode: time 1.834e-06/0.6755, allocations: 0 / 1.229 GB, free: 11.27 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/0.7221, allocations: 30.86 MB / 1.26 GB, free: 13.1 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/9.137, allocations: 4 kB / 1.26 GB, free: 13.09 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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: 13.181780969724059]