Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00191/0.00191, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002578/0.002578, allocations: 214.8 kB / 22.24 MB, free: 4.855 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.002131/0.002131, allocations: 64.62 kB / 1.117 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 170 MB / 1.283 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2221/0.5886, allocations: 170.4 MB / 1.449 GB, free: 9.168 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006755/0.5953, allocations: 3.796 MB / 1.453 GB, free: 5.363 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.5962, allocations: 31.75 kB / 1.453 GB, free: 5.332 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.5976, allocations: 453.1 kB / 1.453 GB, free: 4.887 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.6018, allocations: 1.575 MB / 1.455 GB, free: 3.305 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.6057, allocations: 1.395 MB / 1.456 GB, free: 1.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.6082, allocations: 1.639 MB / 1.458 GB, free: 272 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.6096, allocations: 0.8382 MB / 1.458 GB, free: 15.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.6118, allocations: 0.9658 MB / 1.459 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.6137, allocations: 0.8602 MB / 1.46 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005041/0.6142, allocations: 96 kB / 1.46 GB, free: 13.49 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.618, allocations: 1.102 MB / 1.461 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009164/0.6189, allocations: 366.9 kB / 1.462 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.6203, allocations: 466.1 kB / 1.462 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.6249, allocations: 1.643 MB / 1.464 GB, free: 9.918 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.6249, allocations: 0 / 1.464 GB, free: 9.918 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.176e-06/0.6249, allocations: 0 / 1.464 GB, free: 9.918 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.496e-05/0.625, allocations: 4 kB / 1.464 GB, free: 9.914 MB / 1.17 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.004192/0.6292, allocations: 1.186 MB / 1.465 GB, free: 8.695 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.6293, allocations: 12.03 kB / 1.465 GB, free: 8.684 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/0.6295, allocations: 86.52 kB / 1.465 GB, free: 8.59 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.6314, allocations: 247.2 kB / 1.465 GB, free: 8.348 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.633, allocations: 0.5499 MB / 1.466 GB, free: 7.766 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.6331, allocations: 44.98 kB / 1.466 GB, free: 7.723 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.6332, allocations: 48 kB / 1.466 GB, free: 7.676 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.6354, allocations: 1.05 MB / 1.467 GB, free: 6.543 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.6354, allocations: 4 kB / 1.467 GB, free: 6.539 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6355, allocations: 20 kB / 1.467 GB, free: 6.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/0.6356, allocations: 35.92 kB / 1.467 GB, free: 6.484 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.6378, allocations: 1.003 MB / 1.468 GB, free: 5.48 MB / 1.17 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.008667/0.6464, allocations: 3.727 MB / 1.472 GB, free: 1.621 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.6479, allocations: 0.5547 MB / 1.472 GB, free: 1.059 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.6489, allocations: 489.9 kB / 1.473 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009328/0.6499, allocations: 132.3 kB / 1.473 GB, free: 456 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.49e-05/0.65, allocations: 35 kB / 1.473 GB, free: 412 kB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00293/0.6529, allocations: 0.6399 MB / 1.473 GB, free: 15.76 MB / 1.186 GB Notification: Performance of pre-optimization done (n=50): time 9.347e-06/0.6529, allocations: 0 / 1.473 GB, free: 15.76 MB / 1.186 GB Notification: Performance of matching and sorting (n=50): time 0.01898/0.6719, allocations: 3.679 MB / 1.477 GB, free: 12.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.6719, allocations: 55.84 kB / 1.477 GB, free: 12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6735, allocations: 0.7155 MB / 1.478 GB, free: 11.28 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.6738, allocations: 37.7 kB / 1.478 GB, free: 11.24 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.6741, allocations: 320.9 kB / 1.478 GB, free: 10.92 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.6745, allocations: 182.3 kB / 1.478 GB, free: 10.74 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.6749, allocations: 158 kB / 1.478 GB, free: 10.58 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.6751, allocations: 330 kB / 1.479 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008245/0.6759, allocations: 392.8 kB / 1.479 GB, free: 9.871 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009576/0.6769, allocations: 0.5314 MB / 1.48 GB, free: 9.305 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.6786, allocations: 0.9219 MB / 1.481 GB, free: 8.355 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6786, allocations: 0 / 1.481 GB, free: 8.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0121/0.6907, allocations: 2.545 MB / 1.483 GB, free: 5.793 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.6908, allocations: 8 kB / 1.483 GB, free: 5.785 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6908, allocations: 0 / 1.483 GB, free: 5.785 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009997/0.7008, allocations: 1.741 MB / 1.485 GB, free: 4.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.7013, allocations: 83.88 kB / 1.485 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.7151, allocations: 6.874 MB / 1.492 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.7161, allocations: 20.05 kB / 1.492 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.7162, allocations: 47.92 kB / 1.492 GB, free: 12.77 MB / 1.201 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.0005383/0.7168, allocations: 205.8 kB / 1.492 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.7171, allocations: 83.48 kB / 1.492 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/0.7226, allocations: 1.732 MB / 1.494 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.7226, allocations: 4 kB / 1.494 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.7227, allocations: 4 kB / 1.494 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.7227, allocations: 3.984 kB / 1.494 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006992/0.7297, allocations: 2.386 MB / 1.496 GB, free: 8.242 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.7297, allocations: 4.031 kB / 1.496 GB, free: 8.238 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.7302, allocations: 87.89 kB / 1.496 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/0.734, allocations: 0.786 MB / 1.497 GB, free: 7.359 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/0.734, allocations: 23.92 kB / 1.497 GB, free: 7.336 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007797/0.7418, allocations: 4.615 MB / 1.501 GB, free: 2.496 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.7418, allocations: 4 kB / 1.501 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/0.7477, allocations: 2.138 MB / 1.503 GB, free: 320 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.7483, allocations: 159.3 kB / 1.504 GB, free: 160 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.7485, allocations: 12 kB / 1.504 GB, free: 148 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.7492, allocations: 19.98 kB / 1.504 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.7494, allocations: 60.33 kB / 1.504 GB, free: 68 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.7495, allocations: 20 kB / 1.504 GB, free: 48 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007942/0.7503, allocations: 0.4952 MB / 1.504 GB, free: 15.55 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.7503, allocations: 4 kB / 1.504 GB, free: 15.55 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001103/0.7514, allocations: 299.7 kB / 1.504 GB, free: 15.26 MB / 1.217 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.006313/0.7577, allocations: 2.784 MB / 1.507 GB, free: 12.43 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003934/0.7616, allocations: 1.406 MB / 1.509 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7616, allocations: 0 / 1.509 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.7637, allocations: 0.8635 MB / 1.509 GB, free: 10.1 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.7661, allocations: 461.4 kB / 1.51 GB, free: 9.652 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03416/0.8003, allocations: 10.43 MB / 1.52 GB, free: 15.04 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8008, allocations: 389.3 kB / 1.52 GB, free: 14.63 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007665/0.8016, allocations: 158.6 kB / 1.521 GB, free: 14.47 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.8022, allocations: 283.3 kB / 1.521 GB, free: 14.19 MB / 1.232 GB Notification: Performance of SimCode: time 8.82e-07/0.8022, allocations: 4 kB / 1.521 GB, free: 14.19 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/0.8887, allocations: 32.9 MB / 1.553 GB, free: 13.89 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.16, allocations: 14.66 kB / 1.553 GB, free: 13.88 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.501366483047605]