Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.006538/0.006538, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001544/0.001545, allocations: 189 kB / 16.67 MB, free: 5.961 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.348/2.348, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.84 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7572, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002299/0.7596, allocations: 1.285 MB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.7602, allocations: 302.9 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.7602, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.7603, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.7604, allocations: 15.86 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.7607, allocations: 75.73 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.7608, allocations: 39.83 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.7609, allocations: 8 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.761, allocations: 31.86 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.7611, allocations: 15.92 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.7611, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.7613, allocations: 83.91 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.7613, allocations: 3.938 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.7613, allocations: 11.94 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.7615, allocations: 74.09 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7615, allocations: 0 / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7615, allocations: 0 / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.7615, allocations: 4 kB / 1.209 GB, free: 11.61 MB / 0.9356 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.0003857/0.7619, allocations: 351.4 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.762, allocations: 8.031 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.762, allocations: 34.75 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.762, allocations: 4.844 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.7622, allocations: 180.2 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.7622, allocations: 384 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.7622, allocations: 4.125 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.7623, allocations: 37.69 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7623, allocations: 4 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.7623, allocations: 3.938 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.7623, allocations: 0 / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.7624, allocations: 15.98 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.7626, allocations: 153.7 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.616e-05/0.7626, allocations: 34.56 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.7627, allocations: 16.86 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.7637, allocations: 1.179 MB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.7638, allocations: 38.56 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.906e-06/0.7638, allocations: 3.938 kB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001589/0.7639, allocations: 61.53 kB / 1.211 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.764, allocations: 51.41 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.764, allocations: 109.8 kB / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.7641, allocations: 25.7 kB / 1.211 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.7641, allocations: 80.14 kB / 1.211 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.7641, allocations: 11.91 kB / 1.211 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.7642, allocations: 17.62 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.7643, allocations: 310.8 kB / 1.212 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.7643, allocations: 15.98 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.7643, allocations: 4 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.7644, allocations: 20.8 kB / 1.212 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7644, allocations: 0 / 1.212 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.221e-05/0.7644, allocations: 49.62 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7645, allocations: 8 kB / 1.212 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.7645, allocations: 336 / 1.212 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7645, allocations: 0 / 1.212 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.7645, allocations: 4 kB / 1.212 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.7646, allocations: 0 / 1.212 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.7646, allocations: 4 kB / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.7646, allocations: 4 kB / 1.212 GB, free: 8.309 MB / 0.9356 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 6.721e-05/0.7647, allocations: 109.8 kB / 1.212 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.7647, allocations: 11.92 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.7648, allocations: 57.53 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7648, allocations: 4 kB / 1.212 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7648, allocations: 4 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7648, allocations: 0 / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.765, allocations: 161.5 kB / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.765, allocations: 3.984 kB / 1.212 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.765, allocations: 11.94 kB / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.765, allocations: 0 / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.765, allocations: 0 / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.765, allocations: 0 / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.765, allocations: 0 / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.7651, allocations: 88.91 kB / 1.212 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.7652, allocations: 85.03 kB / 1.212 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.7652, allocations: 4 kB / 1.212 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.7652, allocations: 0 / 1.212 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.7653, allocations: 0 / 1.212 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.7653, allocations: 4 kB / 1.212 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.7653, allocations: 87.27 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7653, allocations: 0 / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002038/0.7655, allocations: 28 kB / 1.213 GB, free: 7.547 MB / 0.9356 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.0004393/0.766, allocations: 0.6435 MB / 1.213 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.7661, allocations: 15.98 kB / 1.213 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7661, allocations: 0 / 1.213 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.7661, allocations: 8 kB / 1.213 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.7663, allocations: 5.875 kB / 1.213 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.7667, allocations: 175.5 kB / 1.213 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.767, allocations: 0.6768 MB / 1.214 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.767, allocations: 8 kB / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.7671, allocations: 11.44 kB / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7671, allocations: 0 / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.7845, allocations: 1.644 MB / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/8.102, allocations: 13.56 kB / 1.216 GB, free: 4.398 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches