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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9216, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002261/0.9239, allocations: 1.297 MB / 1.307 GB, free: 32.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.9244, allocations: 308.1 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.9244, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.9244, allocations: 3.938 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.9245, allocations: 10.59 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.9249, allocations: 84.47 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.9249, allocations: 32.94 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.925, allocations: 6.219 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.9251, allocations: 30.36 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.9251, allocations: 12.92 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.9252, allocations: 2.844 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.9253, allocations: 84.5 kB / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.9253, allocations: 6.828 kB / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.9253, allocations: 14.2 kB / 1.307 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.9255, allocations: 76.12 kB / 1.307 GB, free: 32.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9255, allocations: 2.969 kB / 1.307 GB, free: 32.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9255, allocations: 0 / 1.307 GB, free: 32.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.9255, allocations: 0 / 1.307 GB, free: 32.19 MB / 1.061 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.0003691/0.9259, allocations: 359.5 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9259, allocations: 11.41 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.9259, allocations: 4.938 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.926, allocations: 171.1 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.926, allocations: 384 / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.926, allocations: 3.594 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.9262, allocations: 47.11 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9262, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9262, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9262, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.9262, allocations: 9.078 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.9264, allocations: 158.6 kB / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.9264, allocations: 36.92 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.9265, allocations: 7.766 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008651/0.9273, allocations: 1.192 MB / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.9273, allocations: 38.5 kB / 1.309 GB, free: 29.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.9273, allocations: 0 / 1.309 GB, free: 29.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/0.9275, allocations: 51.44 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.9276, allocations: 54.06 kB / 1.309 GB, free: 29.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.9276, allocations: 105.6 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.9276, allocations: 33.17 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.612e-05/0.9277, allocations: 84.08 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.9277, allocations: 10.67 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.9277, allocations: 12.47 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.9278, allocations: 317.7 kB / 1.31 GB, free: 29.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.9278, allocations: 6.594 kB / 1.31 GB, free: 29.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.9278, allocations: 6.766 kB / 1.31 GB, free: 29.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.9278, allocations: 19.08 kB / 1.31 GB, free: 29.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9278, allocations: 0 / 1.31 GB, free: 29.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.542e-05/0.9279, allocations: 54.78 kB / 1.31 GB, free: 29.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.9279, allocations: 9.125 kB / 1.31 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9279, allocations: 0 / 1.31 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9279, allocations: 0 / 1.31 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.928, allocations: 5.281 kB / 1.31 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.928, allocations: 3.375 kB / 1.31 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.928, allocations: 0 / 1.31 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.928, allocations: 2.938 kB / 1.31 GB, free: 29.22 MB / 1.061 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 5.151e-05/0.9281, allocations: 113.8 kB / 1.31 GB, free: 29.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.9281, allocations: 6.562 kB / 1.31 GB, free: 29.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.9282, allocations: 62.84 kB / 1.31 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.9282, allocations: 2.938 kB / 1.31 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9282, allocations: 0 / 1.31 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9282, allocations: 3.938 kB / 1.31 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.516e-05/0.9283, allocations: 162.4 kB / 1.31 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9283, allocations: 3.938 kB / 1.31 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.9283, allocations: 5.562 kB / 1.31 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.9283, allocations: 3.422 kB / 1.31 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9283, allocations: 8 kB / 1.31 GB, free: 28.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9283, allocations: 2.938 kB / 1.31 GB, free: 28.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9283, allocations: 0 / 1.31 GB, free: 28.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.126e-05/0.9284, allocations: 68.64 kB / 1.31 GB, free: 28.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.9284, allocations: 87.23 kB / 1.311 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.9284, allocations: 3.094 kB / 1.311 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.9285, allocations: 0 / 1.311 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.9285, allocations: 0 / 1.311 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.9285, allocations: 10.81 kB / 1.311 GB, free: 28.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.9285, allocations: 88.39 kB / 1.311 GB, free: 28.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9285, allocations: 3.938 kB / 1.311 GB, free: 28.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002042/0.9287, allocations: 28.28 kB / 1.311 GB, free: 28.56 MB / 1.061 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.0001604/0.9289, allocations: 126.5 kB / 1.311 GB, free: 28.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.929, allocations: 14.88 kB / 1.311 GB, free: 28.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.929, allocations: 0 / 1.311 GB, free: 28.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.929, allocations: 12.58 kB / 1.311 GB, free: 28.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.9292, allocations: 10.78 kB / 1.311 GB, free: 28.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.9295, allocations: 129 kB / 1.311 GB, free: 28.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.9296, allocations: 0.6788 MB / 1.312 GB, free: 27.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.9296, allocations: 10.38 kB / 1.312 GB, free: 27.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.9296, allocations: 10.25 kB / 1.312 GB, free: 27.63 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.9296, allocations: 0 / 1.312 GB, free: 27.63 MB / 1.061 GB Notification: Performance of Templates: time 0.003183/0.9328, allocations: 0.8046 MB / 1.312 GB, free: 27.53 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.029635180719197]