Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005641/0.005641, allocations: 98.95 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 201.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 64.11 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2717, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.6947/0.9664, allocations: 192.7 MB / 1.43 GB, free: 3.684 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005995/0.9725, allocations: 4.026 MB / 1.434 GB, free: 404 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.9729, allocations: 20.72 kB / 1.434 GB, free: 396 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.974, allocations: 472 kB / 1.434 GB, free: 4 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.9769, allocations: 1.518 MB / 1.436 GB, free: 14.83 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.9796, allocations: 1.353 MB / 1.437 GB, free: 13.84 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.9812, allocations: 1.615 MB / 1.439 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.9823, allocations: 0.9646 MB / 1.44 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.9838, allocations: 1.06 MB / 1.441 GB, free: 11.49 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.9848, allocations: 0.8331 MB / 1.442 GB, free: 10.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.985, allocations: 96 kB / 1.442 GB, free: 10.56 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.9871, allocations: 1.302 MB / 1.443 GB, free: 9.258 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.9874, allocations: 354.9 kB / 1.443 GB, free: 8.91 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.9879, allocations: 0.5094 MB / 1.444 GB, free: 8.398 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.9899, allocations: 1.639 MB / 1.445 GB, free: 6.758 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9899, allocations: 4 kB / 1.445 GB, free: 6.754 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9899, allocations: 0 / 1.445 GB, free: 6.754 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.9899, allocations: 0 / 1.445 GB, free: 6.754 MB / 1.139 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.002709/0.9926, allocations: 1.471 MB / 1.447 GB, free: 5.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.9926, allocations: 11.97 kB / 1.447 GB, free: 5.219 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.9928, allocations: 90.52 kB / 1.447 GB, free: 5.121 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.9942, allocations: 243.2 kB / 1.447 GB, free: 4.883 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.995, allocations: 0.6155 MB / 1.448 GB, free: 4.227 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.995, allocations: 33 kB / 1.448 GB, free: 4.195 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.9951, allocations: 56 kB / 1.448 GB, free: 4.141 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.9965, allocations: 0.9609 MB / 1.449 GB, free: 3.109 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.9966, allocations: 7.938 kB / 1.449 GB, free: 3.102 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.9966, allocations: 20 kB / 1.449 GB, free: 3.082 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.9967, allocations: 32 kB / 1.449 GB, free: 3.051 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.9982, allocations: 0.9367 MB / 1.45 GB, free: 2.117 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/1.003, allocations: 4.275 MB / 1.454 GB, free: 13.67 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/1.004, allocations: 0.5959 MB / 1.454 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/1.005, allocations: 0.5174 MB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/1.006, allocations: 0.8782 MB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.006, allocations: 42.94 kB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001293/1.007, allocations: 411.5 kB / 1.456 GB, free: 11.03 MB / 1.154 GB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/1.007, allocations: 8 kB / 1.456 GB, free: 11.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=50): time 0.01666/1.024, allocations: 3.838 MB / 1.46 GB, free: 7.129 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.024, allocations: 63.72 kB / 1.46 GB, free: 7.055 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/1.025, allocations: 0.7116 MB / 1.461 GB, free: 6.332 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/1.025, allocations: 37.7 kB / 1.461 GB, free: 6.289 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/1.025, allocations: 317 kB / 1.461 GB, free: 5.977 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.025, allocations: 190.3 kB / 1.461 GB, free: 5.789 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.025, allocations: 158.1 kB / 1.461 GB, free: 5.629 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.026, allocations: 326 kB / 1.462 GB, free: 5.305 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/1.026, allocations: 392.9 kB / 1.462 GB, free: 4.922 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/1.027, allocations: 485.5 kB / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.028, allocations: 0.9219 MB / 1.464 GB, free: 3.465 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.028, allocations: 0.5 kB / 1.464 GB, free: 3.465 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01068/1.039, allocations: 2.564 MB / 1.466 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.039, allocations: 8 kB / 1.466 GB, free: 0.875 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.039, allocations: 4 kB / 1.466 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009075/1.048, allocations: 1.73 MB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/1.049, allocations: 96.86 kB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.061, allocations: 7.145 MB / 1.475 GB, free: 7.605 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/1.061, allocations: 20.05 kB / 1.475 GB, free: 7.586 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/1.061, allocations: 43.94 kB / 1.475 GB, free: 7.543 MB / 1.17 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.0003286/1.062, allocations: 209.7 kB / 1.475 GB, free: 7.328 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/1.062, allocations: 91.45 kB / 1.475 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/1.067, allocations: 1.736 MB / 1.477 GB, free: 5.492 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.067, allocations: 12 kB / 1.477 GB, free: 5.48 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.067, allocations: 4 kB / 1.477 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/1.067, allocations: 3.984 kB / 1.477 GB, free: 5.473 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/1.072, allocations: 2.532 MB / 1.479 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.072, allocations: 0 / 1.479 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/1.072, allocations: 91.83 kB / 1.479 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/1.076, allocations: 0.8099 MB / 1.48 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/1.076, allocations: 12.75 kB / 1.48 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006492/1.082, allocations: 4.862 MB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.082, allocations: 0 / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/1.087, allocations: 2.151 MB / 1.487 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/1.087, allocations: 236.5 kB / 1.487 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.088, allocations: 16 kB / 1.487 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/1.088, allocations: 27.97 kB / 1.487 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.088, allocations: 56.31 kB / 1.487 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/1.088, allocations: 20.19 kB / 1.487 GB, free: 10.24 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005873/1.089, allocations: 0.4951 MB / 1.488 GB, free: 9.754 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.089, allocations: 0 / 1.488 GB, free: 9.754 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008172/1.09, allocations: 291.8 kB / 1.488 GB, free: 9.469 MB / 1.186 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.005456/1.095, allocations: 2.808 MB / 1.491 GB, free: 6.617 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003287/1.099, allocations: 1.48 MB / 1.492 GB, free: 5.113 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.099, allocations: 0 / 1.492 GB, free: 5.113 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.1, allocations: 0.9146 MB / 1.493 GB, free: 4.176 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.102, allocations: 465.5 kB / 1.494 GB, free: 3.727 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/1.13, allocations: 10.46 MB / 1.504 GB, free: 9.082 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/1.131, allocations: 0.9828 MB / 1.505 GB, free: 8.066 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005656/1.131, allocations: 162.6 kB / 1.505 GB, free: 7.902 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/1.132, allocations: 283.3 kB / 1.505 GB, free: 7.625 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/1.132, allocations: 0 / 1.505 GB, free: 7.625 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.218/5.349, allocations: 29.65 MB / 1.534 GB, free: 10.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/16.21, allocations: 7.859 kB / 1.534 GB, free: 10.33 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches