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.001304/0.001304, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001488/0.001488, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.168/3.168, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",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.001994/0.001994, allocations: 67.33 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2141/0.5888, allocations: 170.3 MB / 1.493 GB, free: 6.539 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006785/0.5956, allocations: 3.774 MB / 1.497 GB, free: 2.758 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.5964, allocations: 27.81 kB / 1.497 GB, free: 2.73 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.5978, allocations: 461 kB / 1.497 GB, free: 2.277 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.6018, allocations: 1.559 MB / 1.499 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.6054, allocations: 1.398 MB / 1.5 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.6081, allocations: 1.634 MB / 1.502 GB, free: 13.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6094, allocations: 0.8422 MB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.6119, allocations: 1.125 MB / 1.504 GB, free: 11.69 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.6136, allocations: 0.9073 MB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.6138, allocations: 100 kB / 1.504 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.6163, allocations: 1.102 MB / 1.506 GB, free: 9.578 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004713/0.6168, allocations: 370.9 kB / 1.506 GB, free: 9.215 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000633/0.6174, allocations: 458.2 kB / 1.506 GB, free: 8.766 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.6203, allocations: 1.639 MB / 1.508 GB, free: 7.121 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6203, allocations: 0 / 1.508 GB, free: 7.121 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6203, allocations: 0 / 1.508 GB, free: 7.121 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.6203, allocations: 0 / 1.508 GB, free: 7.121 MB / 1.201 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.003068/0.6234, allocations: 1.192 MB / 1.509 GB, free: 5.891 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6235, allocations: 12.03 kB / 1.509 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.642e-05/0.6235, allocations: 13 kB / 1.509 GB, free: 5.867 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6237, allocations: 90.52 kB / 1.509 GB, free: 5.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.6254, allocations: 247.2 kB / 1.509 GB, free: 5.527 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6266, allocations: 0.5538 MB / 1.51 GB, free: 4.945 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.6266, allocations: 37 kB / 1.51 GB, free: 4.91 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6268, allocations: 51.98 kB / 1.51 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.6287, allocations: 1.05 MB / 1.511 GB, free: 3.723 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.6288, allocations: 3.938 kB / 1.511 GB, free: 3.719 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/0.6289, allocations: 24 kB / 1.511 GB, free: 3.695 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/0.6289, allocations: 27.92 kB / 1.511 GB, free: 3.668 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.6307, allocations: 1.011 MB / 1.512 GB, free: 2.66 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.6366, allocations: 3.716 MB / 1.516 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6376, allocations: 0.5586 MB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/0.6385, allocations: 489.8 kB / 1.517 GB, free: 13.77 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007466/0.6392, allocations: 136.3 kB / 1.517 GB, free: 13.64 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.6393, allocations: 39 kB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002564/0.6418, allocations: 0.6322 MB / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.967e-06/0.6418, allocations: 0 / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01867/0.6605, allocations: 3.671 MB / 1.521 GB, free: 9.266 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.6606, allocations: 59.84 kB / 1.521 GB, free: 9.195 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.6617, allocations: 0.7155 MB / 1.522 GB, free: 8.473 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.6619, allocations: 29.7 kB / 1.522 GB, free: 8.438 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.6622, allocations: 320.9 kB / 1.522 GB, free: 8.121 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.6625, allocations: 190.4 kB / 1.522 GB, free: 7.934 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.6628, allocations: 154 kB / 1.523 GB, free: 7.777 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.663, allocations: 326 kB / 1.523 GB, free: 7.453 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.6638, allocations: 392.8 kB / 1.523 GB, free: 7.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008453/0.6646, allocations: 0.5276 MB / 1.524 GB, free: 6.5 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6662, allocations: 0.918 MB / 1.525 GB, free: 5.555 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6662, allocations: 4 kB / 1.525 GB, free: 5.551 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01207/0.6783, allocations: 2.549 MB / 1.527 GB, free: 2.988 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.6783, allocations: 11.94 kB / 1.527 GB, free: 2.977 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6783, allocations: 12.06 kB / 1.527 GB, free: 2.965 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.6885, allocations: 1.722 MB / 1.529 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.689, allocations: 91.88 kB / 1.529 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.7031, allocations: 6.881 MB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.7041, allocations: 20.05 kB / 1.536 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.7042, allocations: 47.92 kB / 1.536 GB, free: 9.953 MB / 1.232 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.0005122/0.7047, allocations: 210.5 kB / 1.536 GB, free: 9.738 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.7051, allocations: 87.42 kB / 1.536 GB, free: 9.652 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/0.7105, allocations: 1.728 MB / 1.538 GB, free: 7.902 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.7105, allocations: 8 kB / 1.538 GB, free: 7.895 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.7106, allocations: 4 kB / 1.538 GB, free: 7.891 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7106, allocations: 3.984 kB / 1.538 GB, free: 7.887 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006594/0.7172, allocations: 2.39 MB / 1.54 GB, free: 5.426 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.7172, allocations: 0 / 1.54 GB, free: 5.426 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.7177, allocations: 87.89 kB / 1.54 GB, free: 5.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003649/0.7213, allocations: 0.79 MB / 1.541 GB, free: 4.543 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.7214, allocations: 20.23 kB / 1.541 GB, free: 4.523 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007673/0.7291, allocations: 4.603 MB / 1.545 GB, free: 15.69 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.7291, allocations: 3.938 kB / 1.545 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.7351, allocations: 2.134 MB / 1.548 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.7357, allocations: 163.3 kB / 1.548 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.736, allocations: 12 kB / 1.548 GB, free: 13.34 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.7367, allocations: 27.92 kB / 1.548 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.7369, allocations: 60.27 kB / 1.548 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.737, allocations: 19.94 kB / 1.548 GB, free: 13.23 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008019/0.7378, allocations: 0.5029 MB / 1.548 GB, free: 12.73 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7378, allocations: 0 / 1.548 GB, free: 12.73 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001296/0.7391, allocations: 291.8 kB / 1.549 GB, free: 12.45 MB / 1.248 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.006516/0.7456, allocations: 2.796 MB / 1.551 GB, free: 9.602 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003974/0.7496, allocations: 1.41 MB / 1.553 GB, free: 8.164 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7496, allocations: 0 / 1.553 GB, free: 8.164 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/0.7517, allocations: 0.8597 MB / 1.554 GB, free: 7.277 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.7541, allocations: 454.6 kB / 1.554 GB, free: 6.836 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/0.787, allocations: 10.44 MB / 1.564 GB, free: 12.22 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.7876, allocations: 397.3 kB / 1.565 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008027/0.7884, allocations: 154.6 kB / 1.565 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/0.789, allocations: 287.3 kB / 1.565 GB, free: 11.37 MB / 1.264 GB Notification: Performance of SimCode: time 1.382e-06/0.789, allocations: 7.938 kB / 1.565 GB, free: 11.36 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07385/0.8628, allocations: 32.55 MB / 1.597 GB, free: 11.46 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.27, allocations: 12 kB / 1.597 GB, free: 11.45 MB / 1.295 GB " [Timeout remaining time 286] (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: 21.698043231037445]