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.001481/0.001481, allocations: 78.64 kB / 19.76 MB, free: 2.035 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.002087/0.002087, allocations: 159.3 kB / 23.01 MB, free: 4.941 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.794/2.794, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002137/0.002137, allocations: 63.91 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002144/1.009, allocations: 1.268 MB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002547/1.009, allocations: 112.6 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/1.009, allocations: 0 / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/1.01, allocations: 3.938 kB / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/1.01, allocations: 0 / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/1.01, allocations: 48.7 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/1.01, allocations: 12.47 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/1.01, allocations: 7.266 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/1.01, allocations: 2.531 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/1.01, allocations: 6.562 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/1.01, allocations: 3.125 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/1.01, allocations: 48.06 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/1.01, allocations: 4 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/1.01, allocations: 6.812 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/1.01, allocations: 46.77 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.01, allocations: 3 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/1.01, allocations: 0 / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.01, allocations: 0 / 1.155 GB, free: 32.32 MB / 1.076 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.0003424/1.011, allocations: 259.3 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.011, allocations: 9.031 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/1.011, allocations: 7.281 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/1.011, allocations: 109.5 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/1.011, allocations: 384 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/1.011, allocations: 384 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.738e-05/1.011, allocations: 39.7 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.011, allocations: 3.938 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/1.011, allocations: 6.906 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.011, allocations: 0 / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/1.011, allocations: 2.969 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/1.011, allocations: 99.58 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/1.011, allocations: 23.64 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/1.011, allocations: 7.453 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/1.012, allocations: 99.28 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/1.012, allocations: 34.5 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.012, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/1.012, allocations: 44.83 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/1.012, allocations: 51.41 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/1.012, allocations: 98.39 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/1.012, allocations: 25.7 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/1.012, allocations: 84.14 kB / 1.156 GB, free: 31.33 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/1.012, allocations: 6.672 kB / 1.156 GB, free: 31.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/1.012, allocations: 15.88 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/1.012, allocations: 315 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/1.012, allocations: 6.562 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/1.012, allocations: 2.594 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/1.012, allocations: 14.02 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.012, allocations: 0 / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.336e-05/1.012, allocations: 49.08 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.012, allocations: 9.281 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.012, allocations: 0 / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.012, allocations: 2.719 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/1.012, allocations: 6.938 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/1.012, allocations: 0 / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/1.012, allocations: 0 / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/1.012, allocations: 0 / 1.157 GB, free: 30.93 MB / 1.076 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.976e-05/1.012, allocations: 109 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-06/1.012, allocations: 7.266 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/1.012, allocations: 54.56 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/1.012, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.012, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.012, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.714e-05/1.012, allocations: 107.4 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.012, allocations: 0 / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/1.012, allocations: 2.75 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.012, allocations: 7.172 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/1.012, allocations: 3.938 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.012, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.012, allocations: 2.75 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.965e-05/1.012, allocations: 74.48 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-06/1.012, allocations: 0 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/1.012, allocations: 3.938 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/1.012, allocations: 6.5 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/1.012, allocations: 0 / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/1.012, allocations: 0 / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.454e-05/1.013, allocations: 87.84 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.013, allocations: 0 / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001966/1.013, allocations: 14.5 kB / 1.157 GB, free: 30.46 MB / 1.076 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.0001349/1.013, allocations: 106.6 kB / 1.157 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.422e-05/1.013, allocations: 7.625 kB / 1.157 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.013, allocations: 0 / 1.157 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/1.013, allocations: 14.69 kB / 1.157 GB, free: 30.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/1.013, allocations: 12.81 kB / 1.157 GB, free: 30.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/1.013, allocations: 109.5 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/1.013, allocations: 58.09 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.422e-05/1.013, allocations: 2.781 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/1.013, allocations: 11.22 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.013, allocations: 8 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of Templates: time 0.002859/1.016, allocations: 0.631 MB / 1.158 GB, free: 30.07 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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: 8.802132721990347]