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.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001823/0.001823, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 73.66 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.384, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002644/0.3867, allocations: 1.355 MB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006096/0.3873, allocations: 323 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.3874, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.3874, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.3875, allocations: 7.922 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3878, allocations: 59.8 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.3879, allocations: 43.72 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.3879, allocations: 0 / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.388, allocations: 31.92 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.3881, allocations: 7.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3881, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.3883, allocations: 79.91 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3883, allocations: 11.92 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.3883, allocations: 19.92 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.3885, allocations: 76.08 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3885, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3885, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3885, allocations: 0 / 1.07 GB, free: 8.805 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.0003483/0.3889, allocations: 349.2 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3889, allocations: 8.031 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.389, allocations: 8.844 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3891, allocations: 172.4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.3891, allocations: 4.375 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3891, allocations: 4.359 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.3892, allocations: 37.83 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3892, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3892, allocations: 7.922 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3893, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.3893, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.3894, allocations: 157.7 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.847e-05/0.3895, allocations: 38.61 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.3896, allocations: 16.86 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.3906, allocations: 1.179 MB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3907, allocations: 42.5 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.3907, allocations: 0 / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.3908, allocations: 53.53 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3909, allocations: 55.41 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.3909, allocations: 105.8 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.391, allocations: 25.7 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.391, allocations: 84.14 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.391, allocations: 7.844 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.3911, allocations: 25.7 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.3912, allocations: 314.8 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.3912, allocations: 4 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.3912, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.3913, allocations: 24.78 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3913, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.473e-05/0.3913, allocations: 49.55 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3914, allocations: 11.94 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3914, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.3914, allocations: 4 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.3914, allocations: 11.98 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3914, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.3915, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3915, allocations: 4 kB / 1.072 GB, free: 5.543 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 6.449e-05/0.3915, allocations: 107.6 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.3916, allocations: 7.938 kB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3917, allocations: 61.86 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3917, allocations: 8.016 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3917, allocations: 0 / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3917, allocations: 4 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.3918, allocations: 153.7 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3918, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.3919, allocations: 7.938 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3919, allocations: 4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3919, allocations: 3.938 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3919, allocations: 4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3919, allocations: 0 / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.191e-05/0.392, allocations: 80.97 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.3921, allocations: 85.03 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3921, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.3921, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3921, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3922, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.3922, allocations: 99.56 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3922, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002851/0.3925, allocations: 24 kB / 1.073 GB, free: 4.793 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.0001852/0.3927, allocations: 131.2 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.3928, allocations: 15.98 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3928, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.3928, allocations: 11.94 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.393, allocations: 7.938 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.3933, allocations: 143.7 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.3935, allocations: 0.6809 MB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.3936, allocations: 8 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.3936, allocations: 7.438 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3936, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.002944/0.3965, allocations: 0.7786 MB / 1.075 GB, free: 2.957 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