Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001827/0.001827, allocations: 110.2 kB / 16.46 MB, free: 6.508 MB / 14.72 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.002036/0.002036, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 0.49 GB / 0.7916 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002858/0.002858, allocations: 63.56 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3995, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2233/0.6228, allocations: 196.3 MB / 1.512 GB, free: 14.33 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006414/0.6292, allocations: 4.035 MB / 1.516 GB, free: 10.28 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.63, allocations: 27.81 kB / 1.516 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.6312, allocations: 496.9 kB / 1.517 GB, free: 9.766 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.6348, allocations: 1.571 MB / 1.518 GB, free: 8.188 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.6381, allocations: 1.377 MB / 1.52 GB, free: 6.812 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.6404, allocations: 1.624 MB / 1.521 GB, free: 5.184 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.6416, allocations: 0.8651 MB / 1.522 GB, free: 4.305 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.6436, allocations: 1.106 MB / 1.523 GB, free: 3.195 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.6447, allocations: 0.9073 MB / 1.524 GB, free: 2.285 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.6449, allocations: 100 kB / 1.524 GB, free: 2.188 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.6474, allocations: 1.376 MB / 1.526 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.6478, allocations: 366.9 kB / 1.526 GB, free: 460 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.6484, allocations: 0.5174 MB / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.651, allocations: 1.67 MB / 1.528 GB, free: 14.25 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.651, allocations: 4 kB / 1.528 GB, free: 14.25 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.744e-06/0.651, allocations: 0 / 1.528 GB, free: 14.25 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.651, allocations: 0 / 1.528 GB, free: 14.25 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00272/0.6537, allocations: 1.264 MB / 1.529 GB, free: 12.93 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.6537, allocations: 11.98 kB / 1.529 GB, free: 12.92 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.6539, allocations: 90.52 kB / 1.529 GB, free: 12.82 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6554, allocations: 247.2 kB / 1.53 GB, free: 12.58 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000962/0.6564, allocations: 0.6272 MB / 1.53 GB, free: 11.91 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.6564, allocations: 37 kB / 1.53 GB, free: 11.88 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6566, allocations: 55.92 kB / 1.53 GB, free: 11.82 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6582, allocations: 0.996 MB / 1.531 GB, free: 10.76 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.6582, allocations: 11.92 kB / 1.531 GB, free: 10.75 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.6583, allocations: 20 kB / 1.531 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.6583, allocations: 27.94 kB / 1.531 GB, free: 10.7 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.66, allocations: 1.003 MB / 1.532 GB, free: 9.695 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/0.6654, allocations: 4.145 MB / 1.536 GB, free: 5.379 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6665, allocations: 0.5548 MB / 1.537 GB, free: 4.809 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.6673, allocations: 489.9 kB / 1.537 GB, free: 4.328 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.6684, allocations: 0.8822 MB / 1.538 GB, free: 3.262 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.6685, allocations: 35 kB / 1.538 GB, free: 3.219 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002401/0.6709, allocations: 0.6361 MB / 1.539 GB, free: 2.582 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 2.986e-06/0.6709, allocations: 0 / 1.539 GB, free: 2.582 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01854/0.6894, allocations: 3.834 MB / 1.543 GB, free: 14.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.6895, allocations: 55.84 kB / 1.543 GB, free: 14.63 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6905, allocations: 0.7116 MB / 1.543 GB, free: 13.91 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.6906, allocations: 37.7 kB / 1.543 GB, free: 13.86 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.6909, allocations: 316.9 kB / 1.544 GB, free: 13.55 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.6911, allocations: 186.4 kB / 1.544 GB, free: 13.37 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.6914, allocations: 154.1 kB / 1.544 GB, free: 13.21 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6915, allocations: 333.9 kB / 1.544 GB, free: 12.88 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.6922, allocations: 396.9 kB / 1.545 GB, free: 12.49 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.693, allocations: 489.5 kB / 1.545 GB, free: 11.98 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.6946, allocations: 0.9141 MB / 1.546 GB, free: 11.04 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6946, allocations: 0 / 1.546 GB, free: 11.04 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01186/0.7065, allocations: 2.549 MB / 1.549 GB, free: 8.477 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.7065, allocations: 7.938 kB / 1.549 GB, free: 8.469 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7065, allocations: 8.125 kB / 1.549 GB, free: 8.461 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009634/0.7161, allocations: 1.737 MB / 1.55 GB, free: 6.715 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.7166, allocations: 91.88 kB / 1.55 GB, free: 6.625 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.7301, allocations: 7.153 MB / 1.557 GB, free: 15.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/0.731, allocations: 20.05 kB / 1.557 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.7311, allocations: 43.94 kB / 1.558 GB, free: 15.12 MB / 1.264 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.7316, allocations: 205.7 kB / 1.558 GB, free: 14.91 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.7319, allocations: 83.48 kB / 1.558 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/0.7374, allocations: 1.73 MB / 1.559 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.7374, allocations: 8 kB / 1.559 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.7374, allocations: 4 kB / 1.559 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7374, allocations: 3.984 kB / 1.559 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/0.7438, allocations: 2.532 MB / 1.562 GB, free: 10.45 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.7438, allocations: 0 / 1.562 GB, free: 10.45 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.7442, allocations: 91.88 kB / 1.562 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003536/0.7478, allocations: 0.7901 MB / 1.563 GB, free: 9.559 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.7478, allocations: 16.25 kB / 1.563 GB, free: 9.543 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/0.7552, allocations: 4.864 MB / 1.568 GB, free: 4.398 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.7552, allocations: 7.938 kB / 1.568 GB, free: 4.391 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/0.7608, allocations: 2.14 MB / 1.57 GB, free: 2.211 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.7613, allocations: 232.5 kB / 1.57 GB, free: 1.965 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.7615, allocations: 15.98 kB / 1.57 GB, free: 1.949 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.7622, allocations: 23.98 kB / 1.57 GB, free: 1.926 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.7624, allocations: 56.38 kB / 1.57 GB, free: 1.871 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.7625, allocations: 20 kB / 1.57 GB, free: 1.852 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007433/0.7632, allocations: 0.5029 MB / 1.571 GB, free: 1.355 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7632, allocations: 0 / 1.571 GB, free: 1.355 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001073/0.7643, allocations: 283.8 kB / 1.571 GB, free: 1.078 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006155/0.7704, allocations: 2.786 MB / 1.574 GB, free: 14.23 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003756/0.7742, allocations: 1.406 MB / 1.575 GB, free: 12.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7742, allocations: 4 kB / 1.575 GB, free: 12.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.7761, allocations: 0.8639 MB / 1.576 GB, free: 11.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.7784, allocations: 462.3 kB / 1.576 GB, free: 11.46 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/0.8111, allocations: 10.45 MB / 1.586 GB, free: 0.8359 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.8119, allocations: 0.9789 MB / 1.587 GB, free: 15.83 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000732/0.8126, allocations: 158.6 kB / 1.587 GB, free: 15.67 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.8132, allocations: 283.3 kB / 1.588 GB, free: 15.39 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/0.8132, allocations: 0 / 1.588 GB, free: 15.39 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7267/1.54, allocations: 29.78 MB / 1.617 GB, free: 276.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.72, allocations: 16.69 kB / 1.617 GB, free: 276.5 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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: 19.076158200856298]