Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009797/0.0009797, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002088, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007627/0.0007627, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000983/0.001746, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9395/0.9395, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08761/1.027, 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 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.798/1.798, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4611/2.26, allocations: 123.3 MB / 0.7283 GB, free: 5.758 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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.068e-05, allocations: 2.938 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002258/0.002289, allocations: 1.397 MB / 0.731 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.002678, allocations: 288.5 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.002705, allocations: 4.938 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.558e-06/0.002714, allocations: 1.094 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.743e-05/0.002792, allocations: 19.09 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.002974, allocations: 60.86 kB / 0.7314 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.049e-05/0.003065, allocations: 37.34 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.00311, allocations: 8.891 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.003255, allocations: 41.91 kB / 0.7315 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.003321, allocations: 9.734 kB / 0.7315 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.003338, allocations: 4.531 kB / 0.7315 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.003512, allocations: 85.31 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.003531, allocations: 1.75 kB / 0.7316 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003554, allocations: 11.94 kB / 0.7316 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.003702, allocations: 67.81 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.003717, allocations: 1.125 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003718, allocations: 0 / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.003733, allocations: 0 / 0.7316 GB, free: 2.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004057/0.004138, allocations: 268.9 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.004178, allocations: 9.625 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.004215, allocations: 4.938 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.004331, allocations: 117.6 kB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004342, allocations: 384 / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.004357, allocations: 5.031 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.004469, allocations: 63.95 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.004478, allocations: 5.25 kB / 0.7321 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004487, allocations: 3.984 kB / 0.7321 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004494, allocations: 0 / 0.7321 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.004517, allocations: 5.562 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.998e-05/0.004617, allocations: 57.05 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.004701, allocations: 30.55 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.004716, allocations: 8.859 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.005089, allocations: 150.3 kB / 0.7323 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.005118, allocations: 31.5 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.607e-06/0.005122, allocations: 3.984 kB / 0.7324 GB, free: 1.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001226/0.005245, allocations: 42.91 kB / 0.7324 GB, free: 1.586 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.005283, allocations: 55.34 kB / 0.7325 GB, free: 1.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.005347, allocations: 110.7 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005359, allocations: 31.3 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.005382, allocations: 84.08 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.005417, allocations: 15.88 kB / 0.7327 GB, free: 1.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.005443, allocations: 17.67 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002713/0.005714, allocations: 315.6 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.005725, allocations: 0 / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.005734, allocations: 4.75 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.005761, allocations: 12.84 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.005765, allocations: 6 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.101e-05/0.005816, allocations: 33.7 kB / 0.7331 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.005829, allocations: 4 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005835, allocations: 0 / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.00585, allocations: 0 / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.00591, allocations: 15.92 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.005914, allocations: 5.281 kB / 0.7331 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.005928, allocations: 8 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.005932, allocations: 0 / 0.7331 GB, free: 0.8281 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 (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 5.891e-05/0.005991, allocations: 111 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.005998, allocations: 4 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.006108, allocations: 50.92 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.00611, allocations: 0 / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.006114, allocations: 4.781 kB / 0.7333 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.006119, allocations: 4 kB / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.378e-05/0.006193, allocations: 69.14 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006194, allocations: 0 / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.006215, allocations: 7.984 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.006247, allocations: 7.938 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006249, allocations: 0 / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.006255, allocations: 8 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006257, allocations: 0 / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006258, allocations: 0 / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.379e-05/0.006322, allocations: 65.06 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.00633, allocations: 3.031 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.006363, allocations: 3.984 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.006378, allocations: 432 / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.006383, allocations: 0 / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.509e-05/0.006398, allocations: 16.84 kB / 0.7334 GB, free: 436 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.006398, allocations: 0 / 0.7334 GB, free: 436 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001217/0.00652, allocations: 39.8 kB / 0.7335 GB, free: 396 kB / 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 (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.0001659/0.006686, allocations: 108.9 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.109e-05/0.006757, allocations: 28.75 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.006762, allocations: 0.6562 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.006779, allocations: 17.98 kB / 0.7336 GB, free: 228 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.006914, allocations: 43.09 kB / 0.7337 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.007612, allocations: 123 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.007667, allocations: 59.34 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.007704, allocations: 11.56 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.007757, allocations: 51.38 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.623e-06/0.007759, allocations: 0 / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002876/0.01063, allocations: 0.8255 MB / 0.7347 GB, free: 15.12 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.661140475422144]