Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.002059/0.002059, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.002872/0.002872, allocations: 166.9 kB / 22.46 MB, free: 5.355 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.595/1.595, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.98/2.98, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.9815 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/4.063e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004064/0.004105, allocations: 2.018 MB / 0.9834 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.008281, allocations: 2.366 MB / 0.9857 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.008418, allocations: 0 / 0.9857 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.009846, allocations: 477.5 kB / 0.9862 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.009996, allocations: 71.53 kB / 0.9863 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009601/0.01096, allocations: 283.1 kB / 0.9865 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.01149, allocations: 341.7 kB / 0.9869 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.01167, allocations: 45.25 kB / 0.9869 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.01188, allocations: 151.6 kB / 0.9871 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.0121, allocations: 111.7 kB / 0.9872 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.01214, allocations: 11.94 kB / 0.9872 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.0128, allocations: 335.4 kB / 0.9875 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.01296, allocations: 107.6 kB / 0.9876 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.01314, allocations: 99.55 kB / 0.9877 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.01432, allocations: 0.8528 MB / 0.9885 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.01433, allocations: 0 / 0.9885 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01433, allocations: 0 / 0.9885 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.01434, allocations: 3.984 kB / 0.9885 GB, free: 3.629 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001295/0.01564, allocations: 0.8119 MB / 0.9893 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01568, allocations: 8.031 kB / 0.9893 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.01579, allocations: 68.52 kB / 0.9894 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.01637, allocations: 342.2 kB / 0.9897 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.01638, allocations: 8.375 kB / 0.9897 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.01641, allocations: 8.375 kB / 0.9897 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.01671, allocations: 156.5 kB / 0.9899 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01672, allocations: 3.938 kB / 0.9899 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.01674, allocations: 4 kB / 0.9899 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01675, allocations: 4 kB / 0.9899 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.01695, allocations: 125.6 kB / 0.99 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.01782, allocations: 468.1 kB / 0.9905 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.01804, allocations: 132.2 kB / 0.9906 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.01816, allocations: 86.67 kB / 0.9907 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.01821, allocations: 4 kB / 0.9907 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.01848, allocations: 170.8 kB / 0.9908 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.01848, allocations: 0 / 0.9908 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006238/0.0191, allocations: 378.4 kB / 0.9912 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.01918, allocations: 81.11 kB / 0.9913 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.02019, allocations: 0.7543 MB / 0.992 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.02021, allocations: 29.7 kB / 0.992 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.02051, allocations: 299.9 kB / 0.9923 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.02055, allocations: 31.8 kB / 0.9924 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.02061, allocations: 21.72 kB / 0.9924 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.02079, allocations: 318 kB / 0.9927 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.02089, allocations: 73.62 kB / 0.9928 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.02099, allocations: 81.67 kB / 0.9928 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.02121, allocations: 160.2 kB / 0.993 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.02121, allocations: 0 / 0.993 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003983/0.02161, allocations: 312.9 kB / 0.9933 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.02167, allocations: 37.69 kB / 0.9933 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02167, allocations: 0 / 0.9933 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.0217, allocations: 3.938 kB / 0.9933 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.02178, allocations: 16 kB / 0.9933 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.02179, allocations: 3.984 kB / 0.9933 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.02192, allocations: 15.89 kB / 0.9934 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.02194, allocations: 4 kB / 0.9934 GB, free: 14.39 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0003651/0.0223, allocations: 337.6 kB / 0.9937 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.02239, allocations: 67.58 kB / 0.9937 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.0229, allocations: 334.5 kB / 0.9941 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.02291, allocations: 3.938 kB / 0.9941 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.02292, allocations: 3.938 kB / 0.9941 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02292, allocations: 4 kB / 0.9941 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.0233, allocations: 305.2 kB / 0.9944 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02331, allocations: 3.984 kB / 0.9944 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.02334, allocations: 4 kB / 0.9944 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.02335, allocations: 4 kB / 0.9944 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.02336, allocations: 0 / 0.9944 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02336, allocations: 0 / 0.9944 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.02337, allocations: 7.938 kB / 0.9944 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.0238, allocations: 336 kB / 0.9947 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.02391, allocations: 67.55 kB / 0.9948 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.02397, allocations: 4 kB / 0.9948 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.02407, allocations: 15.94 kB / 0.9948 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.02414, allocations: 11.92 kB / 0.9948 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.02415, allocations: 4.188 kB / 0.9948 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007514/0.02491, allocations: 0.5614 MB / 0.9954 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.02491, allocations: 0 / 0.9954 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004889/0.02539, allocations: 135.7 kB / 0.9955 GB, free: 12.12 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0004496/0.02584, allocations: 199 kB / 0.9957 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.02623, allocations: 246.7 kB / 0.9959 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02623, allocations: 4 kB / 0.9959 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.02641, allocations: 156.9 kB / 0.9961 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.02702, allocations: 127.4 kB / 0.9962 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.02875, allocations: 1.093 MB / 0.9972 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.02921, allocations: 374.5 kB / 0.9976 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.02931, allocations: 25.94 kB / 0.9976 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.02935, allocations: 20.5 kB / 0.9977 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/0.02935, allocations: 3.938 kB / 0.9977 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of Templates: time 0.0135/0.04285, allocations: 5.57 MB / 1.003 GB, free: 4.355 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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: 8.902500156313181]