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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006927/0.006927, allocations: 102 kB / 15.73 MB, free: 6.051 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.001519/0.001519, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 60.12 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9849/0.9863, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002522/0.9889, allocations: 1.287 MB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005905/0.9895, allocations: 306.9 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.9895, allocations: 3.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.9896, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.9897, allocations: 7.922 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.99, allocations: 87.66 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.791e-05/0.9901, allocations: 31.86 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.9902, allocations: 4 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.9903, allocations: 31.91 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.9903, allocations: 15.94 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.9904, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.9906, allocations: 87.91 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.9906, allocations: 7.969 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.9906, allocations: 11.88 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.9908, allocations: 77.67 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9908, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9908, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.9908, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 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.0004286/0.9912, allocations: 355.4 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.9913, allocations: 8.031 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.9913, allocations: 8.844 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.9915, allocations: 168.3 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.9915, allocations: 4.375 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.9915, allocations: 384 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.9916, allocations: 45.61 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.9916, allocations: 0 / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.9916, allocations: 4 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9916, allocations: 4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.9917, allocations: 4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.9919, allocations: 157.7 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.9919, allocations: 38.55 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.992, allocations: 12.92 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.9931, allocations: 1.187 MB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.9932, allocations: 34.56 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9932, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001703/0.9934, allocations: 53.53 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.9934, allocations: 55.41 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.9935, allocations: 109.8 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.9935, allocations: 25.7 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.9936, allocations: 84.14 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.9936, allocations: 3.906 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.9936, allocations: 17.7 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9938, allocations: 322.8 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.9938, allocations: 4 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.9938, allocations: 7.938 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.9938, allocations: 24.84 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9938, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.897e-05/0.9939, allocations: 53.48 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.994, allocations: 4 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.994, allocations: 4 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.994, allocations: 0 / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.994, allocations: 7.984 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.9941, allocations: 0 / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.9941, allocations: 0 / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.9941, allocations: 4 kB / 1.212 GB, free: 8.539 MB / 0.9356 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.622e-05/0.9942, allocations: 109.8 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.9942, allocations: 11.94 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.9943, allocations: 53.53 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9944, allocations: 4.359 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9944, allocations: 0 / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.9944, allocations: 4 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.9945, allocations: 161.6 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9945, allocations: 7.938 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.9945, allocations: 4 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.9946, allocations: 3.984 kB / 1.213 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.9946, allocations: 4 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9946, allocations: 320 / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9946, allocations: 0 / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.014e-05/0.9947, allocations: 73.03 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.626e-05/0.9948, allocations: 89.03 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.9948, allocations: 4 kB / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.9948, allocations: 4 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.9949, allocations: 3.938 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.9949, allocations: 4 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.9949, allocations: 91.25 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9949, allocations: 0 / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002289/0.9952, allocations: 24 kB / 1.213 GB, free: 7.781 MB / 0.9356 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.0002525/0.9954, allocations: 127.2 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.9955, allocations: 23.98 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9955, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.9955, allocations: 8 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.9958, allocations: 7.938 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.9961, allocations: 140 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.9964, allocations: 0.6806 MB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.862e-05/0.9964, allocations: 8 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.9964, allocations: 11.44 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9964, allocations: 0 / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of Templates: time 0.00318/0.9996, allocations: 0.7962 MB / 1.215 GB, free: 5.93 MB / 0.9356 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