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.001775/0.001775, allocations: 100.1 kB / 15.88 MB, free: 12 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.001626/0.001627, allocations: 200 kB / 16.79 MB, free: 6.828 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.514/1.514, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.038/3.038, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 65.31 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3943, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003305/0.3976, allocations: 1.341 MB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.3984, allocations: 323 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.3985, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.3986, allocations: 3.938 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.3987, allocations: 15.92 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.399, allocations: 51.84 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.134e-05/0.3991, allocations: 39.8 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.3992, allocations: 4 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3993, allocations: 23.92 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.3994, allocations: 11.92 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3994, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.3997, allocations: 83.91 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3997, allocations: 3.938 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.3997, allocations: 11.94 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.3999, allocations: 56.14 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3999, allocations: 8 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3999, allocations: 0 / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.3999, allocations: 0 / 1.055 GB, free: 6.344 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.0005337/0.4005, allocations: 355.4 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4005, allocations: 8.031 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.4006, allocations: 0.9375 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4008, allocations: 172.3 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4008, allocations: 384 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.4008, allocations: 384 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.4009, allocations: 53.75 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.401, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.401, allocations: 3.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.401, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.401, allocations: 11.98 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.4012, allocations: 157.7 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4014, allocations: 34.56 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.4014, allocations: 16.92 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.4027, allocations: 1.187 MB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4027, allocations: 38.44 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4027, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.4029, allocations: 57.59 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.403, allocations: 51.41 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.4031, allocations: 105.8 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4031, allocations: 25.7 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.4031, allocations: 84.14 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.4032, allocations: 11.84 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.4032, allocations: 13.72 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4034, allocations: 322.8 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.4034, allocations: 8 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.4034, allocations: 12.11 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.4035, allocations: 16.86 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4035, allocations: 0 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.468e-05/0.4036, allocations: 49.62 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4036, allocations: 4 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4036, allocations: 0 / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4036, allocations: 0 / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.4037, allocations: 4 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4037, allocations: 8 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.4037, allocations: 3.984 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4037, allocations: 0 / 1.057 GB, free: 3.078 MB / 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 8.445e-05/0.4038, allocations: 109.8 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.4039, allocations: 11.84 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.404, allocations: 57.59 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.404, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.404, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.404, allocations: 3.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.4042, allocations: 161.7 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4042, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.4042, allocations: 7.938 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4042, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.4042, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4042, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4043, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.4044, allocations: 84.97 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.4045, allocations: 89.03 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4045, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.4045, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.4045, allocations: 4 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4046, allocations: 0 / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.4046, allocations: 87.27 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4046, allocations: 3.938 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002342/0.4049, allocations: 24 kB / 1.058 GB, free: 2.336 MB / 0.8106 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.0002213/0.4051, allocations: 139.2 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.4052, allocations: 15.92 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4052, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.4052, allocations: 8 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.4055, allocations: 11.94 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.4058, allocations: 161.9 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.4061, allocations: 0.677 MB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.4061, allocations: 15.42 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.4061, allocations: 0 / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of Templates: time 0.002423/0.4086, allocations: 0.7219 MB / 1.06 GB, free: 0.5273 MB / 0.8106 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