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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001247/0.001247, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001276/0.001276, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 65.77 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.00396/0.2968, allocations: 2.151 MB / 0.9519 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.3002, allocations: 2.515 MB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3004, allocations: 4 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3018, allocations: 0.4982 MB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.3022, allocations: 95.62 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.3029, allocations: 215.3 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.3035, allocations: 394.3 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3036, allocations: 60.72 kB / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3039, allocations: 123.4 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.3041, allocations: 155.2 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.3041, allocations: 8 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3043, allocations: 59.97 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3045, allocations: 127.5 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3047, allocations: 222.4 kB / 0.9562 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.3053, allocations: 0.5534 MB / 0.9568 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3053, allocations: 0 / 0.9568 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3053, allocations: 0 / 0.9568 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.3053, allocations: 0 / 0.9568 GB, free: 2.031 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.001341/0.3067, allocations: 0.8642 MB / 0.9576 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3067, allocations: 12.03 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.3069, allocations: 64.09 kB / 0.9577 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.3074, allocations: 436 kB / 0.9581 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.3074, allocations: 7.938 kB / 0.9581 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3075, allocations: 8 kB / 0.9581 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.3077, allocations: 108.1 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3077, allocations: 0 / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.3078, allocations: 4 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3078, allocations: 4 kB / 0.9582 GB, free: 436 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3079, allocations: 43.91 kB / 0.9583 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.3087, allocations: 0.5084 MB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.3091, allocations: 102.8 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.3092, allocations: 36.78 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3092, allocations: 3.984 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.3094, allocations: 87.28 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.3094, allocations: 0 / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0004165/0.3098, allocations: 192.9 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.3099, allocations: 114.7 kB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.311, allocations: 0.8834 MB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.311, allocations: 29.7 kB / 0.9602 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.3113, allocations: 300 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3113, allocations: 19.75 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3114, allocations: 25.7 kB / 0.9605 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3115, allocations: 314 kB / 0.9608 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.3116, allocations: 27.98 kB / 0.9608 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3117, allocations: 72.27 kB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3119, allocations: 69.64 kB / 0.961 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3119, allocations: 0 / 0.961 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002776/0.3122, allocations: 172.8 kB / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3122, allocations: 4 kB / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3122, allocations: 0 / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3122, allocations: 0 / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.3123, allocations: 15.94 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3123, allocations: 7.938 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3125, allocations: 11.92 kB / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3125, allocations: 4 kB / 0.9612 GB, free: 13.25 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.0003236/0.3128, allocations: 311.9 kB / 0.9615 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.3129, allocations: 71.19 kB / 0.9615 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.313, allocations: 77.98 kB / 0.9616 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.313, allocations: 192 / 0.9616 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.313, allocations: 3.938 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.313, allocations: 3.938 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.3134, allocations: 381.4 kB / 0.962 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3134, allocations: 0 / 0.962 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.3135, allocations: 8 kB / 0.962 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3135, allocations: 0 / 0.962 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3135, allocations: 0 / 0.962 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3135, allocations: 4 kB / 0.962 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3135, allocations: 11.88 kB / 0.962 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.3138, allocations: 196.2 kB / 0.9622 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.314, allocations: 136.3 kB / 0.9623 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.314, allocations: 4 kB / 0.9623 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3142, allocations: 4 kB / 0.9623 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.3142, allocations: 15.92 kB / 0.9623 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3143, allocations: 4 kB / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007958/0.3151, allocations: 0.659 MB / 0.963 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3151, allocations: 0 / 0.963 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003107/0.3154, allocations: 56 kB / 0.963 GB, free: 11.22 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.001094/0.3165, allocations: 426.2 kB / 0.9635 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.3168, allocations: 79.88 kB / 0.9635 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3168, allocations: 0 / 0.9635 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.757e-05/0.3169, allocations: 47.97 kB / 0.9636 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.3175, allocations: 142.2 kB / 0.9637 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3193, allocations: 1.262 MB / 0.9649 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.3199, allocations: 0.9819 MB / 0.9659 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.32, allocations: 27.42 kB / 0.9659 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.32, allocations: 4 kB / 0.9659 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of Templates: time 0.01096/0.331, allocations: 6.687 MB / 0.9725 GB, free: 1.738 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 -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