Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002876, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008297/0.0008297, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.00197, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9863/0.9863, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09845/1.085, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.747/1.747, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4101/2.157, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.282e-05, allocations: 3.078 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001458/0.001471, allocations: 1.35 MB / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.001596, allocations: 118 kB / 0.7308 GB, free: 3.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.329e-05/0.001609, allocations: 0.625 kB / 0.7308 GB, free: 3.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.444e-06/0.001617, allocations: 3.938 kB / 0.7308 GB, free: 3.066 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.795e-05/0.001645, allocations: 6.453 kB / 0.7308 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.375e-05/0.001729, allocations: 31.58 kB / 0.7308 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.001781, allocations: 17.02 kB / 0.7308 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.001817, allocations: 9.359 kB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.001866, allocations: 5.422 kB / 0.7308 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.001918, allocations: 9.078 kB / 0.7308 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.00193, allocations: 0 / 0.7308 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.002046, allocations: 57.38 kB / 0.7309 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.002054, allocations: 1.422 kB / 0.7309 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.002068, allocations: 4.766 kB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.002166, allocations: 37.98 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.002181, allocations: 0 / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002182, allocations: 0.6875 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.002196, allocations: 1.719 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003189/0.002515, allocations: 232.6 kB / 0.7312 GB, free: 2.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.002545, allocations: 12.69 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.002567, allocations: 0.9375 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.00264, allocations: 110.8 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.002649, allocations: 4.359 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-06/0.002656, allocations: 4.375 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.514e-05/0.002711, allocations: 42.78 kB / 0.7313 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.002718, allocations: 4.922 kB / 0.7313 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.002724, allocations: 0 / 0.7313 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.002728, allocations: 0.5938 kB / 0.7313 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.002745, allocations: 4.875 kB / 0.7313 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.334e-05/0.002818, allocations: 61 kB / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.002855, allocations: 19.36 kB / 0.7314 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-06/0.002865, allocations: 4.859 kB / 0.7314 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.003107, allocations: 96.94 kB / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.003128, allocations: 36.14 kB / 0.7315 GB, free: 2.215 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003129, allocations: 4 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 8.526e-05/0.003214, allocations: 34.22 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.003242, allocations: 56.28 kB / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.219e-05/0.003294, allocations: 98.72 kB / 0.7317 GB, free: 1.996 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.003305, allocations: 30.3 kB / 0.7318 GB, free: 1.961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.907e-05/0.003324, allocations: 80.14 kB / 0.7318 GB, free: 1.879 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.003348, allocations: 10.5 kB / 0.7318 GB, free: 1.871 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.003369, allocations: 21.69 kB / 0.7319 GB, free: 1.844 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.003439, allocations: 310.8 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.003445, allocations: 3.938 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.00345, allocations: 5.219 kB / 0.7322 GB, free: 1.523 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.003468, allocations: 8.859 kB / 0.7322 GB, free: 1.512 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.00347, allocations: 1.906 kB / 0.7322 GB, free: 1.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.614e-05/0.003506, allocations: 38.67 kB / 0.7322 GB, free: 1.469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.003518, allocations: 6.969 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.003523, allocations: 0 / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.003531, allocations: 0 / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.003578, allocations: 4.75 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.003582, allocations: 3.938 kB / 0.7322 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.003594, allocations: 0.6562 kB / 0.7322 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.003597, allocations: 3.938 kB / 0.7322 GB, free: 1.453 MB / 0.698 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 4.691e-05/0.003644, allocations: 110.6 kB / 0.7323 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.003649, allocations: 6.297 kB / 0.7323 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.003708, allocations: 41.02 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.003709, allocations: 0 / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.003714, allocations: 7.922 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.003717, allocations: 0.5312 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.486e-05/0.003762, allocations: 63.06 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.003763, allocations: 1.094 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-06/0.003772, allocations: 4 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.003778, allocations: 3.984 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003779, allocations: 0.5625 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.003783, allocations: 4.719 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.003784, allocations: 0 / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.003786, allocations: 4.516 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.325e-05/0.003829, allocations: 65.98 kB / 0.7325 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.003836, allocations: 0 / 0.7325 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.003843, allocations: 1.031 kB / 0.7325 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.003853, allocations: 7.922 kB / 0.7325 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.003855, allocations: 4 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.434e-06/0.003862, allocations: 10.75 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003862, allocations: 0 / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001013/0.003963, allocations: 19.88 kB / 0.7326 GB, free: 1.055 MB / 0.698 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.0001017/0.004065, allocations: 99.09 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.682e-05/0.004112, allocations: 12.8 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.004116, allocations: 4 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-06/0.004122, allocations: 8.844 kB / 0.7327 GB, free: 0.918 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.957e-05/0.004222, allocations: 16 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.004831, allocations: 110.7 kB / 0.7328 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.622e-05/0.004858, allocations: 59.34 kB / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.004876, allocations: 3.438 kB / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.004911, allocations: 51.38 kB / 0.7329 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.004912, allocations: 0 / 0.7329 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of Templates: time 0.002003/0.006914, allocations: 0.744 MB / 0.7337 GB, free: 15.93 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.598598213866353]