Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001804/0.001804, allocations: 88.72 kB / 19.44 MB, free: 356 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.002359/0.002359, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.206/3.206, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.696e-05, allocations: 2.859 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003374/0.003401, allocations: 1.406 MB / 0.8789 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001778/0.003579, allocations: 31.89 kB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.003638, allocations: 9.594 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.003821, allocations: 16.73 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003933, allocations: 12.58 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.003937, allocations: 0.6562 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.00402, allocations: 23.86 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.004053, allocations: 0.5 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.004107, allocations: 13.67 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.004151, allocations: 4 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004166, allocations: 0 / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.004221, allocations: 12 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.004266, allocations: 12.42 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.004288, allocations: 0 / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.004408, allocations: 33.19 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004411, allocations: 0 / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004412, allocations: 0 / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.004416, allocations: 0 / 0.8791 GB, free: 4.973 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003847/0.0048, allocations: 255 kB / 0.8793 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.004839, allocations: 13.62 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.004884, allocations: 4.891 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.005128, allocations: 121.7 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00514, allocations: 4.359 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.005147, allocations: 2.281 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.00525, allocations: 38.19 kB / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005257, allocations: 192 / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.005266, allocations: 384 / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.005286, allocations: 384 / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.005314, allocations: 10.56 kB / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.005477, allocations: 109.3 kB / 0.8796 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.005525, allocations: 14.58 kB / 0.8796 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.005549, allocations: 12.92 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.00557, allocations: 0 / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.005623, allocations: 38.5 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.005624, allocations: 0 / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.005787, allocations: 38.41 kB / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.005837, allocations: 56.75 kB / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.005974, allocations: 121.7 kB / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.005993, allocations: 25.7 kB / 0.8799 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.006053, allocations: 84.27 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.006071, allocations: 4 kB / 0.88 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.006103, allocations: 13.72 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.006278, allocations: 310.8 kB / 0.8803 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.006295, allocations: 8 kB / 0.8803 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.006309, allocations: 7.922 kB / 0.8803 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.006337, allocations: 8.859 kB / 0.8803 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006338, allocations: 0 / 0.8803 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.896e-05/0.006417, allocations: 45.66 kB / 0.8804 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.006433, allocations: 4 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006438, allocations: 4.094 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.006456, allocations: 0 / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.006519, allocations: 7.984 kB / 0.8804 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006523, allocations: 0 / 0.8804 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.006542, allocations: 3.938 kB / 0.8804 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006547, allocations: 0 / 0.8804 GB, free: 3.465 MB / 0.8386 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 (1): * Single equations (assignments): 1 * 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 8.818e-05/0.006635, allocations: 109.8 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.006651, allocations: 3.938 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.006753, allocations: 49.14 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006754, allocations: 32 / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.006758, allocations: 4 kB / 0.8806 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.006762, allocations: 7.938 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.00687, allocations: 105.3 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.006871, allocations: 0 / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.006886, allocations: 0 / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006887, allocations: 0 / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.006895, allocations: 4 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006897, allocations: 0 / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006898, allocations: 0 / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.007005, allocations: 68.95 kB / 0.8807 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.007015, allocations: 8.031 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.007029, allocations: 4 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.007039, allocations: 0 / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.007051, allocations: 0 / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.007054, allocations: 3.938 kB / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.007129, allocations: 95.56 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007129, allocations: 0 / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002051/0.007334, allocations: 7.938 kB / 0.8809 GB, free: 2.938 MB / 0.8386 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 (1): * Single equations (assignments): 1 * 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.000254/0.007588, allocations: 126.6 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.007658, allocations: 7.984 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007659, allocations: 0 / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.007677, allocations: 11.94 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.007821, allocations: 0 / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.008122, allocations: 108.8 kB / 0.8811 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.008189, allocations: 63.33 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.008218, allocations: 8 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.008247, allocations: 8.5 kB / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/0.008247, allocations: 0 / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of Templates: time 0.003095/0.01134, allocations: 0.5124 MB / 0.8817 GB, free: 2.051 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.046636690036394]