Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_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.0008672/0.0008674, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005022/0.005022, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5515, allocations: 142.4 MB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0009909/0.5525, allocations: 0.9792 MB / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.5528, allocations: 135.8 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.5528, allocations: 0 / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.5528, allocations: 1.344 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.5529, allocations: 0 / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.553, allocations: 27.64 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.911e-05/0.5531, allocations: 14.94 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.5531, allocations: 9.547 kB / 0.9563 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.5532, allocations: 6.625 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.5532, allocations: 6.875 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.5532, allocations: 1.188 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.5533, allocations: 51.72 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.5533, allocations: 1.406 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.5534, allocations: 32.14 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.757e-05/0.5535, allocations: 41.25 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5535, allocations: 1.281 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5535, allocations: 0 / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.5535, allocations: 4 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002404/0.5537, allocations: 326 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5538, allocations: 9.156 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.288e-05/0.5538, allocations: 30.75 kB / 0.9568 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.681e-05/0.5538, allocations: 6.062 kB / 0.9568 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/0.5539, allocations: 173.6 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.5539, allocations: 1.688 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.5539, allocations: 1.562 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.554, allocations: 40.83 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.554, allocations: 3.984 kB / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.554, allocations: 0 / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.554, allocations: 1.344 kB / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.941e-05/0.5541, allocations: 7.516 kB / 0.957 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.226e-05/0.5542, allocations: 148.6 kB / 0.9572 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.5542, allocations: 32.19 kB / 0.9572 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.5542, allocations: 11.7 kB / 0.9572 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.5547, allocations: 0.6093 MB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.5547, allocations: 31.69 kB / 0.9578 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5547, allocations: 0 / 0.9578 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001086/0.5549, allocations: 43.31 kB / 0.9579 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.5549, allocations: 56.78 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.29e-05/0.5549, allocations: 101.6 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.5549, allocations: 25.7 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.555, allocations: 85.12 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.555, allocations: 5.188 kB / 0.9581 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.555, allocations: 9.719 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.555, allocations: 316.1 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.5551, allocations: 1.688 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.5551, allocations: 2.125 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.5551, allocations: 13.98 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5551, allocations: 1.281 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.853e-05/0.5552, allocations: 45.66 kB / 0.9585 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.5552, allocations: 8.875 kB / 0.9585 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.5552, allocations: 5.406 kB / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.5552, allocations: 0 / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.5552, allocations: 2.531 kB / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5552, allocations: 4.953 kB / 0.9585 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.5553, allocations: 3.906 kB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.5553, allocations: 5.125 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 3.765e-05/0.5553, allocations: 112 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.5553, allocations: 4.938 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.5554, allocations: 44.95 kB / 0.9587 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5554, allocations: 1.312 kB / 0.9587 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.5554, allocations: 3.938 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5554, allocations: 3.984 kB / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.166e-05/0.5555, allocations: 149.1 kB / 0.9588 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5555, allocations: 8.781 kB / 0.9588 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.5555, allocations: 11.2 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.5555, allocations: 0 / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.5555, allocations: 1.312 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5555, allocations: 0 / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5555, allocations: 0 / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.106e-05/0.5556, allocations: 58.98 kB / 0.9589 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.5556, allocations: 86.03 kB / 0.959 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.5556, allocations: 5.062 kB / 0.959 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.5557, allocations: 4 kB / 0.959 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.5557, allocations: 1.062 kB / 0.959 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.5557, allocations: 1.094 kB / 0.959 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.5557, allocations: 78.16 kB / 0.9591 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5557, allocations: 0 / 0.9591 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000177/0.5559, allocations: 16.25 kB / 0.9591 GB, free: 3.586 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0002306/0.5561, allocations: 0.6267 MB / 0.9597 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.518e-05/0.5562, allocations: 11.09 kB / 0.9597 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5562, allocations: 1.188 kB / 0.9597 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.5562, allocations: 7.281 kB / 0.9597 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.5564, allocations: 8.516 kB / 0.9597 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.557, allocations: 1.101 MB / 0.9608 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.54e-05/0.5571, allocations: 0.6764 MB / 0.9615 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.5571, allocations: 9.141 kB / 0.9615 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.5571, allocations: 7.438 kB / 0.9615 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.5571, allocations: 0 / 0.9615 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009662/0.5668, allocations: 1.228 MB / 0.9627 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.5669, allocations: 208.8 kB / 0.9629 GB, free: 280 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.107, allocations: 1.375 kB / 0.9629 GB, free: 280 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches