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.001807/0.001807, allocations: 106.9 kB / 16.45 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.002052/0.002052, 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.635/1.635, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.641/3.641, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 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.002156/0.002156, allocations: 69.89 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4836, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002769/0.4864, allocations: 1.316 MB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.4871, allocations: 307.3 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.4872, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.4872, allocations: 3.938 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.4874, allocations: 11.92 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.4879, allocations: 79.7 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.488, allocations: 39.84 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.488, allocations: 0 / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.4882, allocations: 31.92 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.4883, allocations: 11.92 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4883, allocations: 4 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.4885, allocations: 79.91 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.4885, allocations: 11.92 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.4886, allocations: 7.938 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.4888, allocations: 79.72 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4888, allocations: 0 / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4888, allocations: 0 / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4888, allocations: 0 / 1.323 GB, free: 0.8594 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006257/0.4895, allocations: 363.2 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.4895, allocations: 15.98 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.4896, allocations: 0.9375 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4898, allocations: 168.3 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4898, allocations: 384 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4898, allocations: 384 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.49, allocations: 45.62 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.49, allocations: 3.938 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.49, allocations: 0 / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.49, allocations: 0 / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.238e-05/0.4901, allocations: 11.98 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.4904, allocations: 165.6 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4905, allocations: 30.58 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.4905, allocations: 16.91 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.492, allocations: 1.183 MB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4921, allocations: 38.55 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4921, allocations: 3.938 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.4923, allocations: 45.69 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.4923, allocations: 55.39 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4924, allocations: 109.8 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4925, allocations: 29.7 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.4925, allocations: 80.14 kB / 1.325 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.4926, allocations: 15.84 kB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.4926, allocations: 13.72 kB / 1.325 GB, free: 14.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4928, allocations: 318.8 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.4928, allocations: 3.984 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.4928, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.4928, allocations: 20.8 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4929, allocations: 4 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.255e-05/0.4929, allocations: 53.62 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.493, allocations: 4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.493, allocations: 4 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.493, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.493, allocations: 4 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.493, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.4931, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4931, allocations: 4 kB / 1.326 GB, free: 13.59 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 (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 0.0001041/0.4932, allocations: 113.8 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.4932, allocations: 7.891 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.4933, allocations: 61.53 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4933, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4933, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4933, allocations: 4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4935, allocations: 157.7 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4935, allocations: 3.938 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.4935, allocations: 15.92 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4935, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4936, allocations: 4 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4936, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4936, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.4937, allocations: 77.02 kB / 1.326 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.4937, allocations: 85.05 kB / 1.326 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4938, allocations: 3.984 kB / 1.326 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.4938, allocations: 8 kB / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.4938, allocations: 0 / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4938, allocations: 0 / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.4939, allocations: 91.27 kB / 1.326 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4939, allocations: 0 / 1.326 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002282/0.4941, allocations: 27.88 kB / 1.327 GB, free: 12.83 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 (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.0002434/0.4944, allocations: 123.5 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.4945, allocations: 19.98 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4945, allocations: 7.938 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.4945, allocations: 4.094 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4948, allocations: 15.88 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.4951, allocations: 122.1 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.4955, allocations: 0.6807 MB / 1.327 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.4956, allocations: 12.53 kB / 1.327 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.4956, allocations: 7.438 kB / 1.327 GB, free: 11.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4956, allocations: 0 / 1.327 GB, free: 11.79 MB / 1.029 GB Notification: Performance of Templates: time 0.003375/0.4989, allocations: 0.789 MB / 1.328 GB, free: 11 MB / 1.029 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/jenkins/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: 10.095151809044182]