Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 111 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003788/0.3211, allocations: 2.164 MB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.3247, allocations: 2.651 MB / 1.181 GB, free: 1.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3248, allocations: 4 kB / 1.181 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.3263, allocations: 0.5366 MB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.3266, allocations: 123.4 kB / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.3272, allocations: 234.7 kB / 1.181 GB, free: 124 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00049/0.3277, allocations: 377.8 kB / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3279, allocations: 65.08 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.328, allocations: 135.3 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.3282, allocations: 143.2 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.3283, allocations: 8 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3285, allocations: 63.95 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3286, allocations: 131.5 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.3289, allocations: 234.4 kB / 1.183 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.3297, allocations: 0.7157 MB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3297, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3297, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3297, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 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.001291/0.331, allocations: 0.9338 MB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3311, allocations: 12.03 kB / 1.184 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3312, allocations: 76.47 kB / 1.184 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.3318, allocations: 468.7 kB / 1.185 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3318, allocations: 384 / 1.185 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3318, allocations: 12.12 kB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.332, allocations: 104.1 kB / 1.185 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3321, allocations: 0 / 1.185 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3321, allocations: 4 kB / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3321, allocations: 0 / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3322, allocations: 39.97 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.333, allocations: 0.5317 MB / 1.185 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.3334, allocations: 98.64 kB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.3335, allocations: 36.84 kB / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3335, allocations: 0 / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.3337, allocations: 87.41 kB / 1.186 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3337, allocations: 4 kB / 1.186 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.3341, allocations: 193.2 kB / 1.186 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.3342, allocations: 106.8 kB / 1.186 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3353, allocations: 0.9188 MB / 1.187 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3354, allocations: 25.7 kB / 1.187 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.3357, allocations: 323.9 kB / 1.187 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3357, allocations: 23.89 kB / 1.187 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.3358, allocations: 29.64 kB / 1.187 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.336, allocations: 313.9 kB / 1.187 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.336, allocations: 27.98 kB / 1.187 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3362, allocations: 72.27 kB / 1.188 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3363, allocations: 69.7 kB / 1.188 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3363, allocations: 0 / 1.188 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002815/0.3366, allocations: 173.4 kB / 1.188 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3366, allocations: 4 kB / 1.188 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3367, allocations: 4 kB / 1.188 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3367, allocations: 0 / 1.188 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.3368, allocations: 15.98 kB / 1.188 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3368, allocations: 8 kB / 1.188 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3369, allocations: 19.92 kB / 1.188 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3369, allocations: 4 kB / 1.188 GB, free: 9.293 MB / 0.9356 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.0003314/0.3373, allocations: 317.7 kB / 1.188 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.3374, allocations: 67.53 kB / 1.188 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3375, allocations: 78.41 kB / 1.188 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3375, allocations: 4.188 kB / 1.188 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3375, allocations: 0 / 1.188 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3375, allocations: 7.875 kB / 1.188 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.3379, allocations: 401.4 kB / 1.189 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.338, allocations: 0 / 1.189 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.338, allocations: 12 kB / 1.189 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.338, allocations: 0 / 1.189 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.338, allocations: 4 kB / 1.189 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.338, allocations: 3.984 kB / 1.189 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3381, allocations: 4 kB / 1.189 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3384, allocations: 196.5 kB / 1.189 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.3385, allocations: 140.6 kB / 1.189 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.3386, allocations: 4 kB / 1.189 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3387, allocations: 11.98 kB / 1.189 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.3388, allocations: 8 kB / 1.189 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3388, allocations: 7.922 kB / 1.189 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008323/0.3396, allocations: 0.6747 MB / 1.19 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3396, allocations: 3.938 kB / 1.19 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000285/0.3399, allocations: 63.92 kB / 1.19 GB, free: 7.211 MB / 0.9356 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.001547/0.3415, allocations: 437.6 kB / 1.19 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3417, allocations: 67.91 kB / 1.19 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3417, allocations: 0 / 1.19 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/0.3418, allocations: 35.98 kB / 1.19 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.3425, allocations: 164.2 kB / 1.19 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3443, allocations: 1.215 MB / 1.192 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.345, allocations: 0.9824 MB / 1.193 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.3451, allocations: 27.44 kB / 1.193 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.3451, allocations: 0 / 1.193 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.01101/0.3561, allocations: 7.156 MB / 1.2 GB, free: 13.32 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 11.933082528063096]