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.001423/0.001423, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001562/0.001562, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 7.793 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.524/3.524, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.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.002125/0.002125, allocations: 70.75 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4205, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002571/0.423, allocations: 1.317 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.4237, allocations: 271.1 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.4237, allocations: 8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.4237, allocations: 3.938 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.4239, allocations: 11.92 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.4242, allocations: 67.72 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.4242, allocations: 39.84 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.4243, allocations: 3.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.4244, allocations: 39.91 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.4245, allocations: 7.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.4245, allocations: 3.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.4246, allocations: 63.92 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.4248, allocations: 11.92 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4248, allocations: 15.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.4249, allocations: 71.73 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4249, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4249, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.425, allocations: 4 kB / 1.366 GB, free: 11.61 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.0004232/0.4254, allocations: 270.1 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4254, allocations: 12.03 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004552/0.4259, allocations: 56.8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.426, allocations: 114.4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4261, allocations: 4.375 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4261, allocations: 384 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4263, allocations: 91.28 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4263, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4263, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4263, allocations: 4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.4265, allocations: 47.94 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.4267, allocations: 113.3 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.4271, allocations: 90.48 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.4272, allocations: 28.89 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4272, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4272, allocations: 38.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4272, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003712/0.4276, allocations: 97.62 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4276, allocations: 59.34 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4277, allocations: 113.8 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4278, allocations: 29.64 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.4278, allocations: 84.14 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.4278, allocations: 11.84 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.4279, allocations: 25.7 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.428, allocations: 310.8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.4281, allocations: 23.97 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.4282, allocations: 23.98 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.4284, allocations: 48.81 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4284, allocations: 0 / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/0.4286, allocations: 81.59 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4286, allocations: 7.938 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4286, allocations: 0 / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4287, allocations: 0 / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4288, allocations: 15.98 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4288, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.4289, allocations: 11.98 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4289, allocations: 0 / 1.367 GB, free: 9.648 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 0.0001079/0.429, allocations: 117.8 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.429, allocations: 11.88 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.429, allocations: 8 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.429, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4291, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4291, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.4292, allocations: 113.3 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4292, allocations: 0 / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.4293, allocations: 11.98 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4293, allocations: 4 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4293, allocations: 7.938 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4293, allocations: 0 / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4293, allocations: 0 / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4296, allocations: 113.3 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.4296, allocations: 11.97 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4297, allocations: 3.984 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.4298, allocations: 15.91 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.4298, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4298, allocations: 4 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.604e-05/0.4299, allocations: 99.58 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4299, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001872/0.43, allocations: 8 kB / 1.368 GB, free: 9.059 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.0001128/0.4302, allocations: 91.25 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4304, allocations: 51.89 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4304, allocations: 4 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4305, allocations: 27.97 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.4307, allocations: 9.406 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.4313, allocations: 170.2 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.4314, allocations: 67.34 kB / 1.368 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.4314, allocations: 8 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.4315, allocations: 7.438 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.4315, allocations: 0 / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of Templates: time 0.003288/0.4348, allocations: 0.792 MB / 1.369 GB, free: 7.809 MB / 1.061 GB " [Timeout remaining time 300] 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 -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/jenkins/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.936838399618864]