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.001463/0.001463, allocations: 111 kB / 16.46 MB, free: 6.453 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.001484/0.001484, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.573/1.573, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.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 3.518/3.518, allocations: 0.4899 GB / 0.7916 GB, free: 33.31 MB / 0.6231 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.002078/0.002078, allocations: 74.59 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4797, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002902/0.4826, allocations: 1.274 MB / 1.322 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.483, allocations: 119.5 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.483, allocations: 0 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.4831, allocations: 0 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.4832, allocations: 3.938 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.4834, allocations: 39.88 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.4835, allocations: 27.81 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.4836, allocations: 416 / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.4836, allocations: 7.984 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.4836, allocations: 4 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.4837, allocations: 3.984 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.4838, allocations: 51.94 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.4838, allocations: 3.938 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.4839, allocations: 8 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.484, allocations: 39.83 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.484, allocations: 0 / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.484, allocations: 4 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.484, allocations: 0 / 1.323 GB, free: 1.199 MB / 1.014 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.000505/0.4845, allocations: 335.3 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4846, allocations: 11.98 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.4846, allocations: 4.938 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.4848, allocations: 168.3 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.4848, allocations: 384 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4848, allocations: 8.359 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4849, allocations: 37.64 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4849, allocations: 0 / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4849, allocations: 0 / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4849, allocations: 0 / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.485, allocations: 4 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.4852, allocations: 153.7 kB / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.4853, allocations: 22.55 kB / 1.323 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.4853, allocations: 20.91 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000859/0.4861, allocations: 0.6129 MB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4862, allocations: 30.56 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.4862, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/0.4864, allocations: 45.64 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.4864, allocations: 59.34 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.4865, allocations: 93.98 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4865, allocations: 33.7 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.4866, allocations: 80.14 kB / 1.324 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4866, allocations: 0 / 1.324 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.4866, allocations: 17.7 kB / 1.324 GB, free: 15.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4868, allocations: 318.8 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.4868, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.4868, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/0.4868, allocations: 12.92 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4868, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.284e-05/0.4869, allocations: 53.58 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4869, allocations: 7.938 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4869, allocations: 3.938 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.487, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.487, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.487, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.487, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.487, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 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 9.065e-05/0.4871, allocations: 113.9 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.4871, allocations: 3.938 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4873, allocations: 48.81 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4873, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4873, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4873, allocations: 4 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.4874, allocations: 145.7 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4874, allocations: 3.938 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.4874, allocations: 7.938 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4874, allocations: 4.031 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4874, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4874, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4875, allocations: 3.984 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.429e-05/0.4875, allocations: 57.14 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4876, allocations: 85 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4876, allocations: 4 kB / 1.325 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.4876, allocations: 12.02 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.4877, allocations: 0 / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4877, allocations: 0 / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.4877, allocations: 83.45 kB / 1.325 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4877, allocations: 0 / 1.325 GB, free: 14.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002055/0.4879, allocations: 15.94 kB / 1.325 GB, free: 14.04 MB / 1.029 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.0002157/0.4881, allocations: 115.1 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.4882, allocations: 15.94 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4882, allocations: 4.062 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.4883, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.4885, allocations: 11.92 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.4888, allocations: 98.16 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4892, allocations: 0.6767 MB / 1.326 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.4892, allocations: 8.047 kB / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.4892, allocations: 7.438 kB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4892, allocations: 3.938 kB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of Templates: time 0.003305/0.4925, allocations: 0.6035 MB / 1.327 GB, free: 12.44 MB / 1.029 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=400 -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/jenkins/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: 10.092388021294028]