Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.001624/0.001624, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002221/0.002221, allocations: 162.7 kB / 23.01 MB, free: 4.602 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.586/1.586, allocations: 177.2 MB / 203.4 MB, free: 8.883 MB / 190.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 2.893/2.893, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [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.002402/0.002402, allocations: 64.09 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8543, allocations: 181.8 MB / 1.187 GB, free: 16.15 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002345/0.8566, allocations: 1.307 MB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.8572, allocations: 279.1 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.8572, allocations: 1.375 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.8572, allocations: 4.734 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.8574, allocations: 11.84 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.8576, allocations: 67.34 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.8577, allocations: 41.02 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.8577, allocations: 6.641 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.8579, allocations: 36.41 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.8579, allocations: 19.86 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.8579, allocations: 5.359 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.8581, allocations: 63.83 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.8581, allocations: 2.891 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.8581, allocations: 9.062 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.8583, allocations: 73.2 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8583, allocations: 0.6562 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8583, allocations: 0 / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8583, allocations: 0 / 1.188 GB, free: 14.96 MB / 1.076 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.000313/0.8586, allocations: 279.4 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8586, allocations: 13.88 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/0.8591, allocations: 54.41 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.8592, allocations: 116.1 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.8592, allocations: 1.375 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.8592, allocations: 1.719 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.8594, allocations: 88.3 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8594, allocations: 9.047 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.8594, allocations: 0 / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8594, allocations: 6.203 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.8596, allocations: 44.67 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.8597, allocations: 109.9 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.8601, allocations: 96.52 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.8602, allocations: 27.44 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.8602, allocations: 0 / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.8603, allocations: 36.72 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.8603, allocations: 1.125 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0003721/0.8606, allocations: 101.4 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.8607, allocations: 61.19 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.8607, allocations: 108.7 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.8607, allocations: 26.73 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.8607, allocations: 82.23 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.8608, allocations: 14.06 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.8608, allocations: 19.42 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.8608, allocations: 313.1 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.8609, allocations: 22.58 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.861, allocations: 22.95 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.8612, allocations: 49.5 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8612, allocations: 1.125 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002188/0.8614, allocations: 79.44 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8614, allocations: 9.656 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8614, allocations: 1.375 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8615, allocations: 0 / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.8616, allocations: 17.92 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.8616, allocations: 0 / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.8617, allocations: 11.17 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.8617, allocations: 1.984 kB / 1.19 GB, free: 13.46 MB / 1.076 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 4.714e-05/0.8617, allocations: 108 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.8618, allocations: 10.64 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.8618, allocations: 10.69 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8618, allocations: 1.375 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8618, allocations: 4.594 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8618, allocations: 4 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.312e-05/0.8619, allocations: 118 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8619, allocations: 0 / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.862, allocations: 13.45 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.862, allocations: 1.422 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.862, allocations: 4.453 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.862, allocations: 5.125 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.862, allocations: 0.7969 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.8622, allocations: 111.4 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.8623, allocations: 9.688 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.8623, allocations: 5.75 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8624, allocations: 7.875 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.8624, allocations: 2.062 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.8624, allocations: 3.172 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.8625, allocations: 93.31 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8625, allocations: 0 / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002027/0.8627, allocations: 8.844 kB / 1.191 GB, free: 13 MB / 1.076 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 7.066e-05/0.8627, allocations: 102.7 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.863, allocations: 53.02 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.863, allocations: 1.312 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.8631, allocations: 20.33 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.8633, allocations: 10.55 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.8638, allocations: 172.4 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.8638, allocations: 71.84 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.607e-05/0.8639, allocations: 11.2 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.8639, allocations: 11.12 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.8639, allocations: 0.75 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of Templates: time 0.002983/0.8669, allocations: 0.7645 MB / 1.192 GB, free: 12.58 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.143384324968792]