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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_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_9_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.001874/0.001874, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001964/0.001965, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.299/2.299, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6404, allocations: 140.4 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002053/0.6425, allocations: 1.352 MB / 0.9502 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004676/0.643, allocations: 322.8 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.643, allocations: 0 / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.643, allocations: 0 / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.6431, allocations: 9.328 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.6433, allocations: 51.94 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.6434, allocations: 41.56 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.6435, allocations: 6.953 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.6436, allocations: 24.14 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.6436, allocations: 13.25 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.6436, allocations: 0 / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.6438, allocations: 83.72 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.6438, allocations: 8.922 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.6438, allocations: 13.06 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.644, allocations: 71.78 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.644, allocations: 0 / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.644, allocations: 1.094 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.644, allocations: 0 / 0.9509 GB, free: 7.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003038/0.6443, allocations: 352.5 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6444, allocations: 10.22 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.6444, allocations: 10.75 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.054e-05/0.6445, allocations: 177.6 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.6445, allocations: 1.781 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.6445, allocations: 1.688 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.6446, allocations: 35.27 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.6446, allocations: 0 / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6446, allocations: 8.984 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6446, allocations: 0 / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.6447, allocations: 6.5 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.6448, allocations: 164.5 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.6449, allocations: 37.77 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.6449, allocations: 13.52 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007949/0.6457, allocations: 1.185 MB / 0.9528 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.6457, allocations: 34.5 kB / 0.9528 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.6457, allocations: 1.344 kB / 0.9528 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001277/0.6459, allocations: 51.5 kB / 0.9529 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/0.6459, allocations: 57.03 kB / 0.9529 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.6459, allocations: 107 kB / 0.953 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.6459, allocations: 25.7 kB / 0.9531 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.646, allocations: 85.02 kB / 0.9531 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.646, allocations: 12.47 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.646, allocations: 19.14 kB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.6461, allocations: 310.8 kB / 0.9535 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.6461, allocations: 10.66 kB / 0.9535 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.6461, allocations: 4.375 kB / 0.9535 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.6461, allocations: 23.92 kB / 0.9535 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6462, allocations: 0 / 0.9535 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.797e-05/0.6462, allocations: 50.23 kB / 0.9536 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6462, allocations: 9.281 kB / 0.9536 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.6462, allocations: 0 / 0.9536 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.6463, allocations: 0 / 0.9536 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.6463, allocations: 8.797 kB / 0.9536 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6463, allocations: 1.219 kB / 0.9536 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.6463, allocations: 0 / 0.9536 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.6463, allocations: 1.469 kB / 0.9536 GB, free: 4.688 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 (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 4.344e-05/0.6464, allocations: 108.1 kB / 0.9537 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.6464, allocations: 10.28 kB / 0.9537 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.6465, allocations: 63.11 kB / 0.9537 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6465, allocations: 1.031 kB / 0.9537 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6465, allocations: 0 / 0.9537 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6465, allocations: 0.875 kB / 0.9538 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.26e-05/0.6466, allocations: 167.9 kB / 0.9539 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6466, allocations: 0 / 0.9539 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.6466, allocations: 9.031 kB / 0.9539 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.6467, allocations: 0 / 0.9539 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.6467, allocations: 4.938 kB / 0.9539 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6467, allocations: 1.031 kB / 0.9539 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6467, allocations: 0 / 0.9539 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.6467, allocations: 71.78 kB / 0.954 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.6468, allocations: 91.09 kB / 0.9541 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.6468, allocations: 4.844 kB / 0.9541 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.6468, allocations: 1.219 kB / 0.9541 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.6469, allocations: 5.031 kB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6469, allocations: 2.25 kB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.6469, allocations: 89.05 kB / 0.9542 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6469, allocations: 0 / 0.9542 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002008/0.6471, allocations: 28.78 kB / 0.9542 GB, free: 4.012 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 (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.0001499/0.6473, allocations: 128.3 kB / 0.9543 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.62e-05/0.6473, allocations: 18.36 kB / 0.9543 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6473, allocations: 0 / 0.9543 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.6474, allocations: 10.56 kB / 0.9544 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.6476, allocations: 10.16 kB / 0.9544 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.6478, allocations: 140.2 kB / 0.9545 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.106e-05/0.6479, allocations: 0.6827 MB / 0.9552 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.6479, allocations: 9.094 kB / 0.9552 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.6479, allocations: 9.062 kB / 0.9552 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.6479, allocations: 3.938 kB / 0.9552 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.002344/0.6503, allocations: 0.7736 MB / 0.9559 GB, free: 2.637 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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