Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, 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.00117/0.00117, 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.219/1.219, 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.291/2.291, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 56.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6159/0.6171, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001871/0.619, allocations: 1.249 MB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000259/0.6193, allocations: 119.5 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.6193, allocations: 4 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.6193, allocations: 0 / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.6194, allocations: 15.91 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.6196, allocations: 31.86 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.6196, allocations: 19.86 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.6197, allocations: 8 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.6197, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.6197, allocations: 11.97 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.6198, allocations: 4 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.6199, allocations: 47.95 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.6199, allocations: 11.86 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.6199, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.62, allocations: 35.89 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.62, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.62, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6201, allocations: 0 / 1.21 GB, free: 12.07 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003176/0.6204, allocations: 331.4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.6204, allocations: 16.03 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.6204, allocations: 4.844 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6206, allocations: 164.4 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.6206, allocations: 4.375 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.6206, allocations: 384 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.6206, allocations: 41.62 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.6207, allocations: 3.984 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.6207, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.6207, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.6207, allocations: 7.938 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.6208, allocations: 157.7 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.6209, allocations: 18.58 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.6209, allocations: 16.86 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.6215, allocations: 0.6051 MB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.6215, allocations: 38.56 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6215, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000111/0.6216, allocations: 41.64 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.6217, allocations: 51.41 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.6217, allocations: 97.84 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.6217, allocations: 25.7 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.6218, allocations: 84.14 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.6218, allocations: 7.906 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.6218, allocations: 13.84 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.6219, allocations: 322.8 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.6219, allocations: 4 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-06/0.6219, allocations: 4 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.6219, allocations: 12.86 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.622, allocations: 4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.273e-05/0.622, allocations: 45.58 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.622, allocations: 10.03 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.622, allocations: 4.094 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.6221, allocations: 3.984 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.6221, allocations: 4 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6221, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.6221, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.6221, allocations: 0 / 1.212 GB, free: 9.605 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 (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 5.004e-05/0.6222, allocations: 105.8 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.6222, allocations: 7.938 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.6223, allocations: 54.58 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.6223, allocations: 0 / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6223, allocations: 0 / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.6223, allocations: 0 / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.6224, allocations: 157.6 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6224, allocations: 3.938 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.6224, allocations: 4 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6224, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.6224, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6225, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6225, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.278e-05/0.6225, allocations: 69.16 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.6226, allocations: 81.05 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.6226, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.52e-05/0.6226, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.6226, allocations: 7.938 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.6226, allocations: 3.938 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.6227, allocations: 87.27 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6227, allocations: 4.031 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001754/0.6228, allocations: 16 kB / 1.213 GB, free: 8.914 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 (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.0001246/0.623, allocations: 115.1 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.271e-05/0.623, allocations: 8 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.623, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.6231, allocations: 8 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.6233, allocations: 8.266 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.6235, allocations: 139.8 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.6237, allocations: 0.6768 MB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.6237, allocations: 7.438 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of SimCode: time 1.91e-07/0.6237, allocations: 0 / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.001564/0.6253, allocations: 0.6071 MB / 1.214 GB, free: 7.281 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches