Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.002558/0.002558, allocations: 85.48 kB / 19.44 MB, free: 340 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.003123/0.003123, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.64/1.64, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.351/3.351, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.693e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002975/0.003002, allocations: 1.529 MB / 0.8789 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.004876, allocations: 1.23 MB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.004933, allocations: 1.75 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.005122, allocations: 19.8 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.005333, allocations: 47.72 kB / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.005525, allocations: 59.5 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.005756, allocations: 151.5 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005895, allocations: 25.3 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.006055, allocations: 107.8 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.00619, allocations: 39.89 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.00624, allocations: 11.94 kB / 0.8806 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.006328, allocations: 31.92 kB / 0.8806 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.006431, allocations: 47.88 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.006516, allocations: 52.7 kB / 0.8807 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.006852, allocations: 211.3 kB / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.006854, allocations: 1.125 kB / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.006855, allocations: 0 / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.00686, allocations: 0 / 0.8809 GB, free: 3.145 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008086/0.007669, allocations: 0.5199 MB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.007704, allocations: 8.031 kB / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.007797, allocations: 24.84 kB / 0.8814 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.008176, allocations: 197.3 kB / 0.8816 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.00841, allocations: 218.2 kB / 0.8818 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.008443, allocations: 13.41 kB / 0.8818 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.008835, allocations: 236.9 kB / 0.8821 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008845, allocations: 4.781 kB / 0.8821 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.008868, allocations: 7.781 kB / 0.8821 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.008896, allocations: 11.98 kB / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.008977, allocations: 27.98 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.009986, allocations: 431.3 kB / 0.8825 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.429e-05/0.01007, allocations: 31.06 kB / 0.8826 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.01011, allocations: 23.67 kB / 0.8826 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.01014, allocations: 4.625 kB / 0.8826 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.01018, allocations: 41.98 kB / 0.8826 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.01018, allocations: 0 / 0.8826 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003607/0.01054, allocations: 94.31 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.0106, allocations: 51.41 kB / 0.8828 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.0109, allocations: 279.8 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.01094, allocations: 33.7 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.01115, allocations: 184.4 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.01118, allocations: 23.8 kB / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.01126, allocations: 43.36 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002858/0.01155, allocations: 0.504 MB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.0116, allocations: 16.83 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.01178, allocations: 140.1 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.01202, allocations: 165 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01203, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002773/0.0123, allocations: 145.2 kB / 0.8842 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01232, allocations: 6.5 kB / 0.8842 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.01233, allocations: 7.984 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01235, allocations: 4 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.01245, allocations: 20 kB / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.01247, allocations: 7.984 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.01253, allocations: 16.27 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.01255, allocations: 12 kB / 0.8843 GB, free: 15.28 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001616/0.01271, allocations: 184.4 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.01277, allocations: 15.91 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.013, allocations: 111.1 kB / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.013, allocations: 0 / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01301, allocations: 0 / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01301, allocations: 0 / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.01328, allocations: 192.5 kB / 0.8848 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01328, allocations: 0 / 0.8848 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.326e-05/0.01333, allocations: 12 kB / 0.8848 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01333, allocations: 4 kB / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.01334, allocations: 0 / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01334, allocations: 0 / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01334, allocations: 4.375 kB / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.0136, allocations: 239.7 kB / 0.885 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.01363, allocations: 15.84 kB / 0.8851 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01365, allocations: 0 / 0.8851 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.01385, allocations: 11.98 kB / 0.8851 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.01388, allocations: 7.984 kB / 0.8851 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.01391, allocations: 19.92 kB / 0.8851 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001978/0.01411, allocations: 201.4 kB / 0.8853 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01411, allocations: 4 kB / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003028/0.01441, allocations: 27.95 kB / 0.8853 GB, free: 14.18 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 (8): * Single equations (assignments): 8 * 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.000312/0.01472, allocations: 121.8 kB / 0.8854 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.01491, allocations: 71.72 kB / 0.8855 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.01492, allocations: 4 kB / 0.8855 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.01496, allocations: 23.69 kB / 0.8855 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.0153, allocations: 43.83 kB / 0.8856 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.01586, allocations: 274.8 kB / 0.8858 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.01601, allocations: 118.7 kB / 0.8859 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000125/0.01613, allocations: 48.81 kB / 0.886 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.01618, allocations: 20.5 kB / 0.886 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01618, allocations: 0 / 0.886 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.006423/0.0226, allocations: 2.437 MB / 0.8884 GB, free: 11.01 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.771464103017934]