Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001936/0.001936, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 60.03 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003513/0.316, allocations: 2.169 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.3191, allocations: 2.655 MB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3193, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.3207, allocations: 0.5444 MB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.321, allocations: 123.3 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.3216, allocations: 234.2 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.3221, allocations: 381.6 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3222, allocations: 65.08 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3224, allocations: 131.3 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3226, allocations: 143.2 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3226, allocations: 8 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3228, allocations: 71.84 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.323, allocations: 131.5 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3232, allocations: 230.4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.3238, allocations: 0.7123 MB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3238, allocations: 4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3238, allocations: 0 / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3238, allocations: 0 / 1.034 GB, free: 10.42 MB / 0.8106 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.001184/0.325, allocations: 0.9118 MB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3251, allocations: 8.031 kB / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3252, allocations: 68.09 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.3257, allocations: 455.9 kB / 1.036 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3258, allocations: 8.375 kB / 1.036 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3258, allocations: 12.12 kB / 1.036 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.326, allocations: 96.17 kB / 1.036 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.326, allocations: 0 / 1.036 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.326, allocations: 7.984 kB / 1.036 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.326, allocations: 0 / 1.036 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3262, allocations: 47.86 kB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.3269, allocations: 0.5162 MB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.3272, allocations: 102.7 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.3273, allocations: 36.78 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3274, allocations: 3.984 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3275, allocations: 87.38 kB / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3275, allocations: 0 / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.3279, allocations: 192.8 kB / 1.037 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.328, allocations: 106.8 kB / 1.037 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/0.329, allocations: 0.9187 MB / 1.038 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.329, allocations: 33.69 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.3293, allocations: 312.1 kB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3293, allocations: 15.75 kB / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.3294, allocations: 33.7 kB / 1.038 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3295, allocations: 309.9 kB / 1.038 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.3296, allocations: 27.98 kB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3297, allocations: 72.27 kB / 1.038 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3298, allocations: 77.61 kB / 1.038 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3298, allocations: 8 kB / 1.038 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000255/0.3301, allocations: 160.8 kB / 1.039 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3301, allocations: 4 kB / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3301, allocations: 3.938 kB / 1.039 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3302, allocations: 0 / 1.039 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.3302, allocations: 23.92 kB / 1.039 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3303, allocations: 4 kB / 1.039 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3304, allocations: 7.844 kB / 1.039 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3304, allocations: 4 kB / 1.039 GB, free: 5.512 MB / 0.8106 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.0002938/0.3307, allocations: 325.6 kB / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.3308, allocations: 71.16 kB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3309, allocations: 78.41 kB / 1.039 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3309, allocations: 0 / 1.039 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3309, allocations: 4 kB / 1.039 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3309, allocations: 7.969 kB / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.3313, allocations: 393.4 kB / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3313, allocations: 0 / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.3314, allocations: 4 kB / 1.039 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3314, allocations: 192 / 1.039 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3314, allocations: 11.98 kB / 1.04 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3314, allocations: 3.938 kB / 1.04 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3314, allocations: 3.938 kB / 1.04 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3317, allocations: 196.2 kB / 1.04 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3319, allocations: 144.1 kB / 1.04 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.3319, allocations: 0 / 1.04 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3321, allocations: 11.98 kB / 1.04 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.3321, allocations: 11.98 kB / 1.04 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3322, allocations: 7.938 kB / 1.04 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008034/0.333, allocations: 0.6747 MB / 1.041 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.333, allocations: 0 / 1.041 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003097/0.3333, allocations: 59.98 kB / 1.041 GB, free: 3.438 MB / 0.8106 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.001131/0.3344, allocations: 418.7 kB / 1.041 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3347, allocations: 79.89 kB / 1.041 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3347, allocations: 0 / 1.041 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/0.3348, allocations: 40.08 kB / 1.041 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.3355, allocations: 170.3 kB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3371, allocations: 1.125 MB / 1.042 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.3376, allocations: 0.9902 MB / 1.043 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.3378, allocations: 46.97 kB / 1.043 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.3378, allocations: 31.36 kB / 1.043 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.3378, allocations: 4 kB / 1.043 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of Templates: time 0.01104/0.3489, allocations: 6.057 MB / 1.049 GB, free: 10.7 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches