Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001376, allocations: 108 kB / 16.37 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 195.8 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 66.02 kB / 0.814 GB, free: 32.84 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004119/0.2918, allocations: 2.109 MB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.2954, allocations: 2.562 MB / 0.9557 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.2956, allocations: 4 kB / 0.9557 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.297, allocations: 0.5017 MB / 0.9562 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.2974, allocations: 115.4 kB / 0.9563 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.2981, allocations: 235.2 kB / 0.9565 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.2985, allocations: 350.5 kB / 0.9569 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2987, allocations: 68.72 kB / 0.9569 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2988, allocations: 123.3 kB / 0.957 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.2991, allocations: 135.3 kB / 0.9572 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.2991, allocations: 12 kB / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2993, allocations: 71.89 kB / 0.9573 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2995, allocations: 123.5 kB / 0.9574 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.2998, allocations: 222.4 kB / 0.9576 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.3005, allocations: 0.6735 MB / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3005, allocations: 0 / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3005, allocations: 0 / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3005, allocations: 0 / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001313/0.3019, allocations: 0.8681 MB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3019, allocations: 16.03 kB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.302, allocations: 64.09 kB / 0.9592 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.3026, allocations: 432.1 kB / 0.9596 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3026, allocations: 7.938 kB / 0.9596 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3026, allocations: 4 kB / 0.9596 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.303, allocations: 100.2 kB / 0.9597 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.303, allocations: 4 kB / 0.9597 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.303, allocations: 4 kB / 0.9597 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.303, allocations: 3.938 kB / 0.9597 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3031, allocations: 39.97 kB / 0.9597 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.3039, allocations: 0.5122 MB / 0.9602 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.3043, allocations: 94.66 kB / 0.9603 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.3044, allocations: 36.84 kB / 0.9604 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3044, allocations: 0 / 0.9604 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3046, allocations: 95.38 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.3046, allocations: 0 / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0004101/0.3051, allocations: 196.7 kB / 0.9606 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3051, allocations: 110.7 kB / 0.9607 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.3061, allocations: 0.8834 MB / 0.9616 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3062, allocations: 33.7 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.3064, allocations: 304 kB / 0.9619 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3065, allocations: 15.75 kB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.3066, allocations: 29.7 kB / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3067, allocations: 306 kB / 0.9623 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.3068, allocations: 31.92 kB / 0.9623 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3069, allocations: 76.27 kB / 0.9624 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.307, allocations: 69.7 kB / 0.9624 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.307, allocations: 0 / 0.9624 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002474/0.3073, allocations: 173.1 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3073, allocations: 7.984 kB / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3073, allocations: 0 / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3074, allocations: 4.031 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.3074, allocations: 12 kB / 0.9626 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.3075, allocations: 12 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3076, allocations: 7.984 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3076, allocations: 0 / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000293/0.3079, allocations: 319.8 kB / 0.9629 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.308, allocations: 63.16 kB / 0.963 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3081, allocations: 77.98 kB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3081, allocations: 0 / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3081, allocations: 7.938 kB / 0.9631 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3081, allocations: 0 / 0.9631 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3085, allocations: 377.5 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3085, allocations: 4.172 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.3086, allocations: 8 kB / 0.9635 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3086, allocations: 3.938 kB / 0.9635 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3086, allocations: 4 kB / 0.9635 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3086, allocations: 0 / 0.9635 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3086, allocations: 11.88 kB / 0.9635 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3089, allocations: 196.2 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.309, allocations: 140.3 kB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.3091, allocations: 0 / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3092, allocations: 4 kB / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.3093, allocations: 15.92 kB / 0.9638 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3093, allocations: 4 kB / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007484/0.3101, allocations: 0.659 MB / 0.9645 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3101, allocations: 0 / 0.9645 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002819/0.3103, allocations: 60 kB / 0.9645 GB, free: 9.918 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001029/0.3114, allocations: 419.9 kB / 0.9649 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.3116, allocations: 79.88 kB / 0.965 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3116, allocations: 0 / 0.965 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.3117, allocations: 35.98 kB / 0.965 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.3123, allocations: 143 kB / 0.9652 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3138, allocations: 1.096 MB / 0.9662 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.3144, allocations: 0.978 MB / 0.9672 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.3146, allocations: 42.52 kB / 0.9672 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.3146, allocations: 31.44 kB / 0.9673 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.3146, allocations: 0 / 0.9673 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of Templates: time 0.01103/0.3257, allocations: 5.686 MB / 0.9728 GB, free: 1.648 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches