Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.008219/0.008219, allocations: 101.4 kB / 15.73 MB, free: 5.523 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.001942/0.001942, allocations: 196 kB / 16.67 MB, free: 5.461 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.696/1.696, allocations: 222.9 MB / 240.4 MB, free: 4.168 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 3.587/3.587, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 65.97 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4685, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003653/0.4723, allocations: 1.29 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.4732, allocations: 303.3 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.4732, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.4733, allocations: 3.938 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.4735, allocations: 11.92 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.4739, allocations: 75.72 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.474, allocations: 31.86 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.4741, allocations: 15.97 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.4743, allocations: 31.92 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.4744, allocations: 15.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.4744, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.4747, allocations: 83.91 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.4747, allocations: 3.938 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.4747, allocations: 7.938 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.475, allocations: 82.64 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.475, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.585e-06/0.475, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.475, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006079/0.4757, allocations: 356.2 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.4757, allocations: 8.031 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.4758, allocations: 34.75 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.4759, allocations: 4.844 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.476, allocations: 168.4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4761, allocations: 384 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4761, allocations: 8.125 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.4762, allocations: 41.62 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4763, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.4763, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4763, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.4764, allocations: 19.92 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.4766, allocations: 157.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.4768, allocations: 34.52 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.4768, allocations: 12.86 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.4786, allocations: 1.183 MB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.4787, allocations: 38.5 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 3.596e-06/0.4787, allocations: 3.984 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002441/0.479, allocations: 49.59 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.479, allocations: 63.41 kB / 1.091 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4792, allocations: 105.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4792, allocations: 25.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.4793, allocations: 84.12 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.4793, allocations: 7.906 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.4794, allocations: 17.72 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4796, allocations: 310.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.4796, allocations: 8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.4796, allocations: 11.92 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.4797, allocations: 12.86 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4797, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001187/0.4798, allocations: 53.53 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4799, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4799, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4799, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.48, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.48, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.48, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4801, allocations: 8 kB / 1.092 GB, free: 12.72 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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 0.000126/0.4802, allocations: 113.8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.4802, allocations: 7.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.4804, allocations: 57.58 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4804, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4804, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4805, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.4806, allocations: 157.6 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4807, allocations: 3.938 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.4807, allocations: 8 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4807, allocations: 3.984 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.4807, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4807, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4808, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.4809, allocations: 84.91 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.481, allocations: 81.11 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.481, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.4811, allocations: 7.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.4811, allocations: 4.359 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4812, allocations: 4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.4812, allocations: 83.28 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4812, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003856/0.4816, allocations: 31.92 kB / 1.093 GB, free: 11.96 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0006571/0.4823, allocations: 0.6538 MB / 1.093 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.4825, allocations: 15.98 kB / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4825, allocations: 0 / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.4825, allocations: 8 kB / 1.093 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.4829, allocations: 4 kB / 1.093 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.4836, allocations: 167.7 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.4841, allocations: 0.6807 MB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.895e-05/0.4842, allocations: 0.5469 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.4842, allocations: 19.44 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.4842, allocations: 0 / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.5322, allocations: 1.631 MB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/14.89, allocations: 12.05 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches