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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001152/0.001152, allocations: 183 kB / 17.34 MB, free: 5.766 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.308/2.308, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6699, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002719/0.6727, allocations: 1.276 MB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006382/0.6733, allocations: 306.9 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.6734, allocations: 4 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.6735, allocations: 3.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.6736, allocations: 15.84 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.674, allocations: 83.67 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.147e-05/0.6741, allocations: 31.91 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.6741, allocations: 8 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.6743, allocations: 35.84 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.6743, allocations: 7.938 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.6744, allocations: 8 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.6746, allocations: 75.91 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.6746, allocations: 8 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.6746, allocations: 19.84 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.6749, allocations: 75.66 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6749, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6749, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.6749, allocations: 0 / 1.21 GB, free: 11.67 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.000436/0.6753, allocations: 345.3 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6754, allocations: 12.03 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.6754, allocations: 8.844 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.6755, allocations: 168.3 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.6756, allocations: 384 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6756, allocations: 12.34 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.6757, allocations: 37.64 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6757, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.6757, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.6758, allocations: 3.938 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.6758, allocations: 11.98 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.676, allocations: 161.7 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.6761, allocations: 34.67 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.6761, allocations: 8.859 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.6773, allocations: 1.191 MB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.6773, allocations: 30.56 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.6773, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.6775, allocations: 57.53 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.6776, allocations: 51.41 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.6776, allocations: 105.8 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6776, allocations: 33.7 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.6777, allocations: 84.14 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.6777, allocations: 3.906 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.6777, allocations: 13.72 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.6778, allocations: 322.8 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.6779, allocations: 4 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.6779, allocations: 4 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.6779, allocations: 20.8 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6779, allocations: 3.938 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.358e-05/0.678, allocations: 57.53 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.678, allocations: 4 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.678, allocations: 0 / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.678, allocations: 0 / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.6781, allocations: 8 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6781, allocations: 4.297 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.6781, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.6781, allocations: 0 / 1.213 GB, free: 8.418 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.126e-05/0.6782, allocations: 109.8 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.6782, allocations: 7.938 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.6783, allocations: 65.84 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6784, allocations: 4.031 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6784, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.6784, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.643e-05/0.6785, allocations: 169.6 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6785, allocations: 3.938 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.6785, allocations: 4 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6785, allocations: 4 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.6785, allocations: 0 / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6785, allocations: 4 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6785, allocations: 0 / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.388e-05/0.6786, allocations: 76.97 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.6787, allocations: 89.03 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.6787, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.6787, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.6788, allocations: 8 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.6788, allocations: 0 / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.6788, allocations: 91.27 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.6788, allocations: 0 / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002049/0.679, allocations: 24 kB / 1.214 GB, free: 7.656 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.0001601/0.6792, allocations: 135.2 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.118e-05/0.6793, allocations: 15.98 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6793, allocations: 4 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.6793, allocations: 11.94 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.6795, allocations: 11.88 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.6798, allocations: 155.6 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.68, allocations: 0.6768 MB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.68, allocations: 11.44 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.68, allocations: 3.938 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.001812/0.6818, allocations: 0.726 MB / 1.215 GB, free: 5.852 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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