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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.045/2.045, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00181/0.4797, allocations: 1.261 MB / 0.9509 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.48, allocations: 122.6 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.48, allocations: 0 / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.48, allocations: 4 kB / 0.9511 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.4801, allocations: 5.25 kB / 0.9511 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.4802, allocations: 39.41 kB / 0.9511 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.788e-05/0.4803, allocations: 18.11 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.4803, allocations: 1.5 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.4804, allocations: 7.688 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.4804, allocations: 3.062 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.4804, allocations: 0 / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.4805, allocations: 56.28 kB / 0.9512 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.4805, allocations: 3.984 kB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.4805, allocations: 6.656 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.693e-05/0.4806, allocations: 38.42 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4806, allocations: 0 / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4807, allocations: 5.047 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.4807, allocations: 0 / 0.9512 GB, free: 8.004 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.0002434/0.4809, allocations: 327.7 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.4809, allocations: 14.25 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.781e-05/0.481, allocations: 34.75 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.481, allocations: 6.156 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.4811, allocations: 166.1 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4811, allocations: 4.312 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.4811, allocations: 2.312 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.509e-05/0.4811, allocations: 35.38 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.4812, allocations: 1.406 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-06/0.4812, allocations: 0 / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.4812, allocations: 0 / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.4812, allocations: 7.656 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.973e-05/0.4813, allocations: 157.2 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.4813, allocations: 27.52 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.4814, allocations: 7.516 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/0.4819, allocations: 0.6082 MB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.4819, allocations: 36.56 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4819, allocations: 0 / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001022/0.482, allocations: 47.08 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.366e-05/0.482, allocations: 51.41 kB / 0.9527 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.912e-05/0.4821, allocations: 102.5 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.4821, allocations: 25.7 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.4821, allocations: 81.52 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.4821, allocations: 3.984 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.4821, allocations: 20.53 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.21e-05/0.4822, allocations: 315.8 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.4822, allocations: 2.562 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.4822, allocations: 1.625 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.4822, allocations: 14.33 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4822, allocations: 0 / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.827e-05/0.4823, allocations: 46.77 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.4823, allocations: 4.531 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4823, allocations: 5.25 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.4823, allocations: 0 / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.4824, allocations: 6.766 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.4824, allocations: 1.438 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.4824, allocations: 0 / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.4824, allocations: 1.406 kB / 0.9533 GB, free: 5.652 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.315e-05/0.4824, allocations: 111.2 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.4824, allocations: 3.938 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/0.4825, allocations: 54.53 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4825, allocations: 0 / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4825, allocations: 7.938 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.4825, allocations: 1.594 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.512e-05/0.4826, allocations: 148.6 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4826, allocations: 3.938 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.4826, allocations: 6.703 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4826, allocations: 1.188 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.4826, allocations: 4 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4826, allocations: 1.5 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4826, allocations: 4.031 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.886e-05/0.4827, allocations: 62.41 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.4827, allocations: 82.33 kB / 0.9538 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.4827, allocations: 1.938 kB / 0.9538 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.4827, allocations: 3.938 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.4828, allocations: 0 / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.4828, allocations: 1.656 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.695e-05/0.4828, allocations: 85.98 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.61e-07/0.4828, allocations: 0 / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001949/0.483, allocations: 18.88 kB / 0.9539 GB, free: 5.004 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.0002098/0.4832, allocations: 0.6238 MB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.052e-05/0.4833, allocations: 15.45 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4833, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.4833, allocations: 8.219 kB / 0.9545 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.4835, allocations: 10.89 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.484, allocations: 1.08 MB / 0.9556 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.4841, allocations: 0.6799 MB / 0.9563 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.4841, allocations: 6.312 kB / 0.9563 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.4841, allocations: 13.5 kB / 0.9563 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4841, allocations: 0 / 0.9563 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.505, allocations: 1.399 MB / 0.9577 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.367, allocations: 9.578 kB / 0.9577 GB, free: 1.754 MB / 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