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.001124/0.001124, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001982/0.003106, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001202/0.001202, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002793, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9258/0.9258, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07814/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.286/2.286, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.208/2.494, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.556e-06/9.788e-06, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.00144/0.00145, allocations: 1.395 MB / 0.8203 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000281/0.001731, allocations: 279 kB / 0.8206 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.00175, allocations: 8 kB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.783e-06/0.001757, allocations: 0 / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.00182, allocations: 19.78 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.001953, allocations: 59.73 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.002016, allocations: 39.78 kB / 0.8207 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.002044, allocations: 4 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.002157, allocations: 51.89 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.002196, allocations: 4 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.002209, allocations: 4 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.002327, allocations: 67.86 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.002338, allocations: 3.938 kB / 0.8208 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.002351, allocations: 12 kB / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.002468, allocations: 71.75 kB / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.002477, allocations: 0 / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002478, allocations: 0 / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.002489, allocations: 0 / 0.8209 GB, free: 496 kB / 0.7917 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.0003125/0.002802, allocations: 268.3 kB / 0.8212 GB, free: 204 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.002829, allocations: 12.03 kB / 0.8212 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.003256, allocations: 133.9 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.003346, allocations: 121.6 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.003358, allocations: 384 / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.003371, allocations: 8.312 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.003479, allocations: 92.62 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003485, allocations: 3.938 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.003493, allocations: 0 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003497, allocations: 0 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.00353, allocations: 15.98 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.953e-05/0.00361, allocations: 61.05 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.003718, allocations: 54.58 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.003736, allocations: 8.859 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.003746, allocations: 11.88 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.003765, allocations: 34.56 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.003766, allocations: 0 / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001037/0.003869, allocations: 49.69 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.003889, allocations: 55.34 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.003935, allocations: 114.7 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.003945, allocations: 25.7 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.003962, allocations: 80.14 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.003985, allocations: 19.89 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.004013, allocations: 17.72 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.004075, allocations: 318.8 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.00409, allocations: 7.984 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.004105, allocations: 8 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.004139, allocations: 25.11 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00414, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.405e-05/0.004194, allocations: 41.69 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.004203, allocations: 4 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.004207, allocations: 4 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004217, allocations: 4 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.00429, allocations: 15.92 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.004293, allocations: 3.938 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.004325, allocations: 7.984 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.004329, allocations: 4 kB / 0.8225 GB, free: 14.7 MB / 0.8073 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.542e-05/0.004375, allocations: 109.8 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.004385, allocations: 7.984 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.004406, allocations: 4 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.004408, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.004411, allocations: 11.94 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004413, allocations: 0 / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.747e-05/0.004471, allocations: 81.88 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.004471, allocations: 0 / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.004511, allocations: 11.98 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.004538, allocations: 11.95 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.004538, allocations: 0 / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.004544, allocations: 7.984 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004545, allocations: 3.938 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004545, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.556e-05/0.004611, allocations: 73 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.004621, allocations: 8 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.004656, allocations: 7.984 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.004668, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.004672, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.392e-05/0.004686, allocations: 20.84 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004686, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.457e-05/0.004781, allocations: 11.94 kB / 0.8228 GB, free: 14.29 MB / 0.8073 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 6.122e-05/0.004842, allocations: 80.36 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.475e-05/0.004907, allocations: 28.83 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.00491, allocations: 4 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.004933, allocations: 20.84 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.005039, allocations: 71.33 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.005715, allocations: 172.5 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.287e-05/0.005738, allocations: 55.34 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.00578, allocations: 8 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.005848, allocations: 59.36 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.005849, allocations: 3.938 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of Templates: time 0.001963/0.007812, allocations: 0.8676 MB / 0.8241 GB, free: 12.87 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.768093885853887]