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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002749/0.002749, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.474/3.474, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 68.75 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4315, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002715/0.4342, allocations: 1.298 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006169/0.4348, allocations: 259.1 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.4348, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.4349, allocations: 4 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.435, allocations: 7.922 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.4354, allocations: 63.72 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4355, allocations: 39.78 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.4355, allocations: 4 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4356, allocations: 31.97 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.4357, allocations: 11.94 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4357, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.4359, allocations: 67.86 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.4359, allocations: 11.92 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.4359, allocations: 7.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.4361, allocations: 75.73 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4361, allocations: 4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4361, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.4361, allocations: 0 / 1.366 GB, free: 11.67 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.0004104/0.4365, allocations: 278.1 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4366, allocations: 12.02 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.437, allocations: 44.86 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4372, allocations: 122.5 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4372, allocations: 4.375 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.4372, allocations: 8.125 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.4374, allocations: 87.28 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4374, allocations: 3.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4374, allocations: 4 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4374, allocations: 4 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.4376, allocations: 27.97 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.438, allocations: 216.5 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4381, allocations: 38.56 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.4382, allocations: 20.84 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.4382, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.4382, allocations: 30.56 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4382, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002749/0.4385, allocations: 69.75 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4385, allocations: 59.39 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4386, allocations: 113.8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4387, allocations: 25.7 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.4387, allocations: 88.08 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.4387, allocations: 3.953 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.4388, allocations: 13.72 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4389, allocations: 314.8 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.439, allocations: 19.92 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.439, allocations: 11.98 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.4391, allocations: 32.91 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.4391, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001458/0.4393, allocations: 57.67 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4393, allocations: 4 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4393, allocations: 0 / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4393, allocations: 0 / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.4394, allocations: 4 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4394, allocations: 4.031 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.4394, allocations: 11.94 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.4394, allocations: 3.938 kB / 1.367 GB, free: 9.785 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 (2): * Single equations (assignments): 2 * 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.232e-05/0.4395, allocations: 114.9 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.4395, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.4396, allocations: 11.62 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4396, allocations: 0 / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4396, allocations: 0 / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4396, allocations: 3.984 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.4397, allocations: 113.2 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4397, allocations: 4 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.4398, allocations: 7.984 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4398, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4398, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4398, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4398, allocations: 3.938 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.44, allocations: 159.4 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.44, allocations: 4 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4401, allocations: 3.984 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.4401, allocations: 15.97 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.4402, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4402, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.4402, allocations: 95.2 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4402, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002154/0.4404, allocations: 4 kB / 1.368 GB, free: 9.191 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 (2): * Single equations (assignments): 2 * 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.0001019/0.4405, allocations: 95.25 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.4407, allocations: 27.97 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4407, allocations: 4.062 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.4408, allocations: 12 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.441, allocations: 7.922 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.4414, allocations: 126.2 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.4415, allocations: 67.33 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.703e-05/0.4415, allocations: 8.047 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.4415, allocations: 7.438 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4415, allocations: 0 / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of Templates: time 0.002656/0.4442, allocations: 455.9 kB / 1.369 GB, free: 8.355 MB / 1.061 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 800] 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.892602160573006]