Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001576/0.001576, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002091/0.002091, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.377/3.377, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [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.002061/0.002061, allocations: 74.56 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4199, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002547/0.4225, allocations: 1.314 MB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.4231, allocations: 287 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.4231, allocations: 0 / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.4231, allocations: 4 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.4232, allocations: 15.84 kB / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.4235, allocations: 55.8 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.568e-05/0.4236, allocations: 39.84 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.4237, allocations: 4 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4238, allocations: 27.92 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.4238, allocations: 19.91 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4239, allocations: 4 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.424, allocations: 79.78 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.424, allocations: 7.938 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.4241, allocations: 11.94 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.4242, allocations: 83.7 kB / 1.356 GB, free: 6.008 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4243, allocations: 4 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4243, allocations: 0 / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4243, allocations: 0 / 1.356 GB, free: 6.004 MB / 1.045 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.0003971/0.4247, allocations: 274.1 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4247, allocations: 12.03 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/0.4252, allocations: 60.78 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4253, allocations: 110.5 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4253, allocations: 384 / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.4253, allocations: 4.375 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.4255, allocations: 61.59 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.4255, allocations: 0 / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4256, allocations: 0 / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4256, allocations: 0 / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.4257, allocations: 39.95 kB / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.4262, allocations: 231.9 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.4263, allocations: 38.56 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.4264, allocations: 16.91 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4264, allocations: 4 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.4264, allocations: 34.56 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.4264, allocations: 0 / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002721/0.4267, allocations: 77.55 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.4267, allocations: 55.34 kB / 1.357 GB, free: 4.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.4268, allocations: 105.8 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.4268, allocations: 25.7 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.4269, allocations: 84.27 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4269, allocations: 11.95 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.4269, allocations: 13.72 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4271, allocations: 318.8 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.4271, allocations: 8 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.4272, allocations: 11.98 kB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.4273, allocations: 28.91 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4273, allocations: 0 / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001461/0.4274, allocations: 65.61 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4274, allocations: 4 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4274, allocations: 0 / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4275, allocations: 0 / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.4276, allocations: 11.98 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.4276, allocations: 0 / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.4276, allocations: 7.969 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4276, allocations: 4 kB / 1.358 GB, free: 4.133 MB / 1.045 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 8.579e-05/0.4277, allocations: 114.4 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.4277, allocations: 3.953 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.4278, allocations: 15.61 kB / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4278, allocations: 0 / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4278, allocations: 0 / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4278, allocations: 0 / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.428, allocations: 140.6 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.428, allocations: 4 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.428, allocations: 11.97 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.428, allocations: 0 / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.428, allocations: 0 / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.428, allocations: 4 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.428, allocations: 0 / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.4283, allocations: 163.4 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.4283, allocations: 7.953 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4283, allocations: 3.938 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.4284, allocations: 7.984 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4284, allocations: 0 / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4284, allocations: 0 / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.4285, allocations: 91.27 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4285, allocations: 0 / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002111/0.4287, allocations: 4 kB / 1.358 GB, free: 3.504 MB / 1.045 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.000124/0.4288, allocations: 99.28 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.429, allocations: 35.84 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.429, allocations: 0 / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.429, allocations: 12 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.4293, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.4297, allocations: 157.9 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.43, allocations: 0.6768 MB / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.4301, allocations: 7.438 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4301, allocations: 4 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of Templates: time 0.002214/0.4323, allocations: 0.5679 MB / 1.36 GB, free: 1.887 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: 11.701509990001796]