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.001157/0.001157, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002185/0.003342, 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.001222/0.001222, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001866/0.003088, 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.9846/0.9846, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.744/1.744, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4145/2.158, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.382e-06/1.382e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.426e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001521/0.001535, allocations: 1.367 MB / 0.731 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.001674, allocations: 124 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.564e-05/0.00169, allocations: 0 / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.701e-06/0.001696, allocations: 0.6562 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.972e-05/0.001725, allocations: 1.422 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.831e-05/0.001814, allocations: 34.45 kB / 0.7311 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.001865, allocations: 22.45 kB / 0.7312 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.001902, allocations: 0 / 0.7312 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.001956, allocations: 13.84 kB / 0.7312 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.002013, allocations: 4.984 kB / 0.7312 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.002026, allocations: 0.5312 kB / 0.7312 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.002143, allocations: 56.81 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.002156, allocations: 4.656 kB / 0.7312 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.002174, allocations: 1.25 kB / 0.7312 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.002273, allocations: 45.42 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.002284, allocations: 0.8125 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002284, allocations: 0 / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.002298, allocations: 5.469 kB / 0.7313 GB, free: 2.785 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.0003174/0.002615, allocations: 229.9 kB / 0.7315 GB, free: 2.539 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.002644, allocations: 8.031 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.00267, allocations: 4.938 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.002754, allocations: 106.6 kB / 0.7316 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.002764, allocations: 4.375 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.002773, allocations: 0.9062 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.76e-05/0.002831, allocations: 35.97 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002838, allocations: 8.594 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.002844, allocations: 0 / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.002848, allocations: 0 / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.002862, allocations: 3.938 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.179e-05/0.002944, allocations: 61.81 kB / 0.7317 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.55e-05/0.00298, allocations: 19.89 kB / 0.7317 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.002991, allocations: 9.906 kB / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.003224, allocations: 93.75 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.003242, allocations: 30.56 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.52e-07/0.003243, allocations: 0 / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 7.479e-05/0.003318, allocations: 37.64 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.00334, allocations: 55.84 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.003387, allocations: 102.7 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.003395, allocations: 26.8 kB / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.003411, allocations: 80.91 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.003432, allocations: 11.94 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.003451, allocations: 14.34 kB / 0.7322 GB, free: 1.738 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.003516, allocations: 320 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.00352, allocations: 0 / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.003525, allocations: 4 kB / 0.7325 GB, free: 1.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.59e-05/0.003541, allocations: 9.578 kB / 0.7325 GB, free: 1.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003543, allocations: 1.922 kB / 0.7325 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.071e-05/0.003573, allocations: 41.62 kB / 0.7325 GB, free: 1.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.003583, allocations: 9.25 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.003587, allocations: 0 / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.003597, allocations: 0 / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.00363, allocations: 4 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.003633, allocations: 4.969 kB / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.003643, allocations: 0.5469 kB / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.003646, allocations: 0 / 0.7326 GB, free: 1.34 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.148e-05/0.003687, allocations: 112 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-06/0.00369, allocations: 0 / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.167e-05/0.003752, allocations: 44.94 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.003753, allocations: 0.875 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.003755, allocations: 9.156 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.003757, allocations: 0 / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.6e-05/0.003803, allocations: 69.88 kB / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003804, allocations: 0 / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.003813, allocations: 4.594 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.003818, allocations: 0.9375 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.003819, allocations: 3.984 kB / 0.7328 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-06/0.003822, allocations: 1.734 kB / 0.7328 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003823, allocations: 0 / 0.7328 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.003823, allocations: 0.8125 kB / 0.7328 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.025e-05/0.003864, allocations: 69.06 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-06/0.00387, allocations: 1.375 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-06/0.003876, allocations: 3.938 kB / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-06/0.003884, allocations: 0 / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.003885, allocations: 0 / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.608e-06/0.003895, allocations: 14.09 kB / 0.7329 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.003895, allocations: 0.7656 kB / 0.7329 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of remove unused functions: time 9.66e-05/0.003991, allocations: 19.88 kB / 0.7329 GB, free: 0.9414 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.0001107/0.004102, allocations: 100.8 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.926e-05/0.004151, allocations: 10.78 kB / 0.733 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.004154, allocations: 0 / 0.733 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.004165, allocations: 10.19 kB / 0.733 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.004283, allocations: 81.42 kB / 0.7331 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.004852, allocations: 105.8 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.509e-05/0.004877, allocations: 59.28 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.644e-05/0.004893, allocations: 2.875 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.004928, allocations: 55.38 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.004929, allocations: 0 / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of Templates: time 0.001802/0.00673, allocations: 0.6535 MB / 0.734 GB, free: 15.84 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.527187853120267]