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.001321/0.001321, allocations: 115.2 kB / 17.13 MB, free: 6.004 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.001473/0.001473, allocations: 216.3 kB / 20.1 MB, free: 3.051 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.955/2.955, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.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: 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.002056/0.002056, allocations: 71.88 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359/1.361, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002192/1.363, allocations: 1.302 MB / 1.323 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/1.364, allocations: 299.8 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/1.364, allocations: 3.938 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/1.364, allocations: 0 / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/1.364, allocations: 19.19 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/1.364, allocations: 77.14 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/1.364, allocations: 37.56 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/1.364, allocations: 2.156 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/1.364, allocations: 37.31 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/1.364, allocations: 17.3 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/1.364, allocations: 2.781 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/1.364, allocations: 78.09 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/1.364, allocations: 6.75 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/1.364, allocations: 9.891 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/1.365, allocations: 74.62 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.365, allocations: 7.703 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/1.365, allocations: 0 / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.365, allocations: 0 / 1.324 GB, free: 23.83 MB / 1.061 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.0003781/1.365, allocations: 354 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.365, allocations: 14.8 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/1.365, allocations: 3.844 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/1.365, allocations: 171.8 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.365, allocations: 3 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/1.365, allocations: 384 / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/1.365, allocations: 46.45 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/1.365, allocations: 3.938 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.365, allocations: 0 / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.365, allocations: 6.469 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/1.365, allocations: 9.312 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/1.365, allocations: 157.8 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/1.366, allocations: 29.42 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/1.366, allocations: 22.08 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/1.366, allocations: 1.182 MB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/1.366, allocations: 30.56 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.366, allocations: 4 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001623/1.367, allocations: 56.19 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/1.367, allocations: 54.44 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/1.367, allocations: 110 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/1.367, allocations: 25.7 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/1.367, allocations: 87.55 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/1.367, allocations: 14.59 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/1.367, allocations: 12.59 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.369e-05/1.367, allocations: 314.8 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/1.367, allocations: 12.81 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/1.367, allocations: 6.625 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/1.367, allocations: 18.52 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.367, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.269e-05/1.367, allocations: 51.08 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.367, allocations: 7.656 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.367, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.367, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/1.367, allocations: 8.797 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.367, allocations: 4 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/1.367, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.367, allocations: 2.594 kB / 1.327 GB, free: 20.86 MB / 1.061 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.5e-05/1.367, allocations: 105.8 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/1.367, allocations: 10.42 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/1.367, allocations: 64.5 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1.367, allocations: 4 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.367, allocations: 3.938 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.367, allocations: 0 / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.27e-05/1.367, allocations: 158.5 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.367, allocations: 3.938 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/1.367, allocations: 8.906 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/1.367, allocations: 0 / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/1.367, allocations: 2.906 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.367, allocations: 0 / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.367, allocations: 0 / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/1.367, allocations: 82.48 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/1.368, allocations: 87.06 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/1.368, allocations: 0 / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/1.368, allocations: 2.875 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/1.368, allocations: 4 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/1.368, allocations: 6.391 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.084e-05/1.368, allocations: 85.25 kB / 1.327 GB, free: 20.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.368, allocations: 0 / 1.327 GB, free: 20.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002062/1.368, allocations: 31.45 kB / 1.327 GB, free: 20.2 MB / 1.061 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.0001717/1.368, allocations: 122.3 kB / 1.327 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/1.368, allocations: 18.39 kB / 1.327 GB, free: 20.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.368, allocations: 0 / 1.327 GB, free: 20.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.509e-05/1.368, allocations: 9.484 kB / 1.327 GB, free: 20.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/1.368, allocations: 10.62 kB / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/1.369, allocations: 154.4 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/1.369, allocations: 0.681 MB / 1.328 GB, free: 19.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/1.369, allocations: 10.09 kB / 1.328 GB, free: 19.23 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.369, allocations: 3.062 kB / 1.328 GB, free: 19.23 MB / 1.061 GB Notification: Performance of Templates: time 0.002226/1.371, allocations: 0.7315 MB / 1.329 GB, free: 19.18 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.188727211992955]