Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.001401/0.001401, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001621/0.001621, allocations: 157.7 kB / 22.76 MB, free: 1.684 MB / 18.57 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.51/1.51, allocations: 177.2 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.207/3.207, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8775 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.674e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004311/0.004348, allocations: 1.694 MB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.006472, allocations: 0.6371 MB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.006762, allocations: 3.938 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.007585, allocations: 131.5 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0009379/0.008523, allocations: 200.1 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.009288, allocations: 188.6 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.009946, allocations: 223.4 kB / 0.8805 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.01016, allocations: 30.84 kB / 0.8806 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.01055, allocations: 111.8 kB / 0.8807 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.01089, allocations: 164.2 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.01095, allocations: 12 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.01112, allocations: 45.06 kB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.01129, allocations: 83.73 kB / 0.881 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01141, allocations: 47.8 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.01203, allocations: 274.5 kB / 0.8813 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.01204, allocations: 0 / 0.8813 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.514e-06/0.01204, allocations: 0 / 0.8813 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.01206, allocations: 0 / 0.8813 GB, free: 2.734 MB / 0.8386 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.001375/0.01343, allocations: 0.5275 MB / 0.8818 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.01349, allocations: 12.03 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.01365, allocations: 28.75 kB / 0.8818 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.01439, allocations: 340 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.01441, allocations: 1.219 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.01442, allocations: 4.375 kB / 0.8822 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.01469, allocations: 74.75 kB / 0.8822 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.0147, allocations: 5.469 kB / 0.8822 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.01472, allocations: 4.125 kB / 0.8822 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.01473, allocations: 0 / 0.8822 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.01496, allocations: 53.33 kB / 0.8823 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.01566, allocations: 364.2 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.01586, allocations: 54.55 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.01596, allocations: 16.91 kB / 0.8827 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.01599, allocations: 4 kB / 0.8827 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.01603, allocations: 34.66 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.01603, allocations: 3.938 kB / 0.8827 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004922/0.01652, allocations: 121.4 kB / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.01658, allocations: 51.41 kB / 0.8829 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000811/0.01739, allocations: 0.5367 MB / 0.8834 GB, free: 400 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01741, allocations: 25.7 kB / 0.8835 GB, free: 368 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.01759, allocations: 160.1 kB / 0.8836 GB, free: 204 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.01762, allocations: 19.84 kB / 0.8836 GB, free: 184 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.01767, allocations: 13.7 kB / 0.8836 GB, free: 164 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.01793, allocations: 342.8 kB / 0.884 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01804, allocations: 19.98 kB / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.01812, allocations: 23.97 kB / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.01831, allocations: 48.7 kB / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01831, allocations: 0 / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000295/0.01861, allocations: 101.5 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.01863, allocations: 6.344 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01864, allocations: 3.984 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.01866, allocations: 0 / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01876, allocations: 16 kB / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01877, allocations: 0 / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01887, allocations: 11.98 kB / 0.8842 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.01888, allocations: 0 / 0.8842 GB, free: 15.58 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0002044/0.01908, allocations: 173.8 kB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.01917, allocations: 43.62 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.01951, allocations: 108.6 kB / 0.8845 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01951, allocations: 48 / 0.8845 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01952, allocations: 3.984 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01952, allocations: 4 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.01986, allocations: 205.2 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01987, allocations: 0 / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.01994, allocations: 8 kB / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01994, allocations: 0 / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01995, allocations: 0 / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.01996, allocations: 3.984 kB / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01996, allocations: 0 / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.02035, allocations: 203.2 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.02044, allocations: 35.81 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.02048, allocations: 3.984 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.02059, allocations: 4 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.02066, allocations: 7.984 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.02066, allocations: 4 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006049/0.02127, allocations: 395.1 kB / 0.8853 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02127, allocations: 0 / 0.8853 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003044/0.02157, allocations: 27.89 kB / 0.8854 GB, free: 14.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001832/0.0234, allocations: 378.5 kB / 0.8857 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.02364, allocations: 43.95 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02365, allocations: 3.938 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.02374, allocations: 27.98 kB / 0.8858 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.02428, allocations: 56.39 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.02545, allocations: 498.1 kB / 0.8863 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.02569, allocations: 173.7 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.02581, allocations: 41.92 kB / 0.8865 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.02589, allocations: 24.5 kB / 0.8866 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of SimCode: time 1.623e-06/0.02589, allocations: 0 / 0.8866 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.007842/0.03373, allocations: 2.505 MB / 0.889 GB, free: 10.71 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.430576252983883]