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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008605/0.0008606, allocations: 97.78 kB / 16.02 MB, free: 76 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.001207/0.001207, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.569/1.569, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.966/2.966, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004269, allocations: 8.281 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4344, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001665/0.4361, allocations: 1.018 MB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.4368, allocations: 315 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.4369, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.4369, allocations: 4 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.437, allocations: 7.922 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.4374, allocations: 55.81 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.4374, allocations: 31.91 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.4375, allocations: 7.938 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.4376, allocations: 31.84 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.4377, allocations: 7.938 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4377, allocations: 4 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.438, allocations: 79.91 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.438, allocations: 11.94 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.438, allocations: 37.62 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.4382, allocations: 52.16 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4382, allocations: 0 / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4382, allocations: 0 / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4383, allocations: 0 / 1.061 GB, free: 3.262 MB / 0.8106 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.0004818/0.4387, allocations: 351.4 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4388, allocations: 12.03 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.4389, allocations: 4.938 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.439, allocations: 168.3 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4391, allocations: 4.375 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.4391, allocations: 384 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.4392, allocations: 41.81 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4392, allocations: 4 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4392, allocations: 4 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.4393, allocations: 0 / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.4393, allocations: 7.938 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.4395, allocations: 165.7 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4396, allocations: 34.61 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.4397, allocations: 8.922 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.441, allocations: 1.191 MB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.4411, allocations: 34.5 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4411, allocations: 0 / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001984/0.4413, allocations: 53.62 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.4413, allocations: 55.34 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4415, allocations: 109.8 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4415, allocations: 33.7 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.4416, allocations: 80.14 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.4416, allocations: 19.72 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.4416, allocations: 9.719 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4418, allocations: 318.8 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.4418, allocations: 0 / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.4418, allocations: 4 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.4419, allocations: 24.78 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4419, allocations: 0 / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.649e-05/0.442, allocations: 49.97 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.442, allocations: 4 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.442, allocations: 4 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.442, allocations: 3.984 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.4421, allocations: 4 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4421, allocations: 0 / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.4421, allocations: 0 / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4422, allocations: 4 kB / 1.064 GB, free: 4 kB / 0.8106 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 0.000109/0.4423, allocations: 105.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.4423, allocations: 11.92 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.4425, allocations: 65.52 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4425, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4425, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4425, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.4427, allocations: 157.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4427, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.4427, allocations: 11.94 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4427, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4427, allocations: 4 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4427, allocations: 3.938 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4427, allocations: 320 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.4428, allocations: 73.06 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.4429, allocations: 89.03 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.443, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.443, allocations: 8 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.443, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.443, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.4431, allocations: 95.25 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4431, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002135/0.4433, allocations: 24 kB / 1.064 GB, free: 15.26 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.0002299/0.4435, allocations: 127.2 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.4437, allocations: 19.92 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4437, allocations: 4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.4437, allocations: 7.938 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4439, allocations: 11.94 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.4443, allocations: 164.3 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4447, allocations: 0.677 MB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.4447, allocations: 11.44 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4447, allocations: 4 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.00253/0.4472, allocations: 0.7195 MB / 1.066 GB, free: 13.45 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/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