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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001303/0.001303, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 62.39 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4043, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003577/0.4079, allocations: 1.276 MB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006937/0.4086, allocations: 301.1 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.4087, allocations: 8 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.4088, allocations: 3.938 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.4089, allocations: 11.91 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.4094, allocations: 79.7 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.4095, allocations: 39.78 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.4096, allocations: 4 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.4097, allocations: 19.98 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.4098, allocations: 15.92 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4098, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.4101, allocations: 83.91 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.4101, allocations: 11.92 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.4102, allocations: 15.88 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.4104, allocations: 80.06 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4104, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4104, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.4104, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 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.0005593/0.411, allocations: 347.4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4111, allocations: 8.031 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.4111, allocations: 8.844 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4113, allocations: 172.3 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4113, allocations: 4.375 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.4113, allocations: 4.375 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.4115, allocations: 37.83 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4115, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4115, allocations: 3.984 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4115, allocations: 4 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.4116, allocations: 4 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.4118, allocations: 157.7 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4119, allocations: 42.55 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.412, allocations: 12.92 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.4134, allocations: 1.183 MB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4134, allocations: 38.5 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.4135, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002162/0.4137, allocations: 53.59 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.4137, allocations: 51.41 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4138, allocations: 113.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.4139, allocations: 25.7 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.4139, allocations: 80.14 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.414, allocations: 15.83 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.414, allocations: 21.7 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4142, allocations: 318.8 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.4142, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.4142, allocations: 4 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.4143, allocations: 20.84 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4143, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.411e-05/0.4143, allocations: 49.55 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4144, allocations: 4 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4144, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4144, allocations: 8 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.4145, allocations: 12.25 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4145, allocations: 0 / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.4145, allocations: 0 / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4145, allocations: 0 / 1.073 GB, free: 5.207 MB / 0.8262 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 9.038e-05/0.4146, allocations: 115.6 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.4146, allocations: 3.938 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.4148, allocations: 65.58 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4148, allocations: 3.984 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4148, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4148, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.415, allocations: 157.7 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.415, allocations: 4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.415, allocations: 11.88 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.415, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.415, allocations: 4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.415, allocations: 3.938 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4151, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.4152, allocations: 73.03 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.4152, allocations: 89.03 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4153, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.4153, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.4153, allocations: 4 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4154, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.4154, allocations: 95.27 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4154, allocations: 0 / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002392/0.4157, allocations: 24 kB / 1.073 GB, free: 4.453 MB / 0.8262 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.0002462/0.4159, allocations: 127.1 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.416, allocations: 19.98 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.416, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.4161, allocations: 4 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4163, allocations: 8 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.4167, allocations: 141.8 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.417, allocations: 0.6846 MB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.998e-05/0.417, allocations: 8.547 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.4171, allocations: 7.438 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/0.4171, allocations: 4 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.003567/0.4206, allocations: 0.7896 MB / 1.075 GB, free: 2.609 MB / 0.8262 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/jenkins/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