Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001752/0.001752, allocations: 88.33 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002061/0.002061, allocations: 165.6 kB / 23.55 MB, free: 0.8594 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.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.872/2.872, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/3.004e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002855/0.002885, allocations: 1.402 MB / 0.8122 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.003058, allocations: 35.88 kB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.003102, allocations: 7.938 kB / 0.8122 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.003268, allocations: 12.47 kB / 0.8122 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.00338, allocations: 11.98 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.798e-06/0.003384, allocations: 0.9062 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.003458, allocations: 23.86 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.003488, allocations: 5.062 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.003539, allocations: 7.984 kB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.003591, allocations: 11.98 kB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.003606, allocations: 1.406 kB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.003649, allocations: 8 kB / 0.8123 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.003692, allocations: 11.94 kB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.003713, allocations: 0 / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003831, allocations: 36.64 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003833, allocations: 0 / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003834, allocations: 0.9688 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003838, allocations: 0 / 0.8123 GB, free: 0.5273 MB / 0.7605 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.0003717/0.00421, allocations: 254.3 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.004244, allocations: 12.62 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.004283, allocations: 1.5 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.004482, allocations: 125.7 kB / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.004494, allocations: 1.625 kB / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.004501, allocations: 384 / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.004603, allocations: 30.27 kB / 0.8127 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.004611, allocations: 2.562 kB / 0.8127 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004619, allocations: 384 / 0.8127 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.004643, allocations: 8.297 kB / 0.8127 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.004667, allocations: 7.938 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.004844, allocations: 105.3 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.004899, allocations: 18.58 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.004926, allocations: 13.44 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.004946, allocations: 1.531 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.004986, allocations: 38.62 kB / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.004987, allocations: 0 / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.005141, allocations: 38.89 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.005188, allocations: 55.34 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.005331, allocations: 121.8 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.005353, allocations: 25.7 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.005414, allocations: 92.66 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.005434, allocations: 4.828 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.005469, allocations: 9.719 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.005655, allocations: 318.8 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.005667, allocations: 0.8125 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.005674, allocations: 0.5312 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.005708, allocations: 18.16 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005709, allocations: 4 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.101e-05/0.00578, allocations: 33.7 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.005796, allocations: 9.156 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.0058, allocations: 0 / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.005817, allocations: 0 / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.005863, allocations: 0.7188 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.00587, allocations: 4 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.005887, allocations: 4.594 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005891, allocations: 0 / 0.8136 GB, free: 15.03 MB / 0.7761 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 9.326e-05/0.005985, allocations: 110.5 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.005998, allocations: 9.234 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.00609, allocations: 45.11 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006091, allocations: 0 / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.006102, allocations: 8.922 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.006108, allocations: 3.938 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.006216, allocations: 104.7 kB / 0.8139 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006217, allocations: 0 / 0.8139 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.006236, allocations: 7.984 kB / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006237, allocations: 0 / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.006242, allocations: 0 / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.006243, allocations: 0 / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.006247, allocations: 3.984 kB / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.006345, allocations: 69.02 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.00636, allocations: 7.938 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.006381, allocations: 0.5 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.006391, allocations: 1.938 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.006402, allocations: 3.938 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.006404, allocations: 4 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.876e-05/0.006483, allocations: 91.27 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006483, allocations: 0 / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001958/0.006679, allocations: 11.94 kB / 0.8141 GB, free: 14.5 MB / 0.7761 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.0002266/0.006906, allocations: 112.2 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.221e-05/0.006968, allocations: 4.531 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006969, allocations: 0 / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.006984, allocations: 8.891 kB / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007123, allocations: 0 / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.007435, allocations: 117.5 kB / 0.8143 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.007501, allocations: 64.48 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.007557, allocations: 7.938 kB / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.007586, allocations: 12.5 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of SimCode: time 4.5e-07/0.007587, allocations: 0.625 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.003007/0.01059, allocations: 0.5256 MB / 0.8149 GB, free: 13.64 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.748066817992367]