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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001937/0.001937, allocations: 71.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.853, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002024/0.855, allocations: 1.388 MB / 1.307 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.8551, allocations: 42.27 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.8552, allocations: 0 / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.8553, allocations: 18.12 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.388e-05/0.8554, allocations: 14.78 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-06/0.8554, allocations: 0 / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.8555, allocations: 17.36 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.8555, allocations: 3 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.8555, allocations: 14.34 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.8556, allocations: 10.94 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.8556, allocations: 2.875 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.8556, allocations: 9.109 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.8557, allocations: 6.5 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.8557, allocations: 11.88 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.8558, allocations: 33.22 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8558, allocations: 0 / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8558, allocations: 0 / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.8558, allocations: 0 / 1.307 GB, free: 32.34 MB / 1.061 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.0002564/0.8561, allocations: 342.7 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.8561, allocations: 11.03 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.8561, allocations: 0.9375 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.8562, allocations: 181 kB / 1.307 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-06/0.8562, allocations: 384 / 1.307 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.8563, allocations: 384 / 1.307 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.479e-05/0.8563, allocations: 28.95 kB / 1.307 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8563, allocations: 192 / 1.307 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.8563, allocations: 6.625 kB / 1.307 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.8564, allocations: 8 kB / 1.307 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.8564, allocations: 6.531 kB / 1.307 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.8565, allocations: 154.9 kB / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.184e-05/0.8565, allocations: 17.39 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.8565, allocations: 11.3 kB / 1.308 GB, free: 31.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.8565, allocations: 3.984 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.8565, allocations: 34.56 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8565, allocations: 0 / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.8567, allocations: 52.94 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.8567, allocations: 59.34 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.8567, allocations: 110.1 kB / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.8567, allocations: 28.58 kB / 1.308 GB, free: 31.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.8568, allocations: 84.14 kB / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.8568, allocations: 3.953 kB / 1.308 GB, free: 31.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.8568, allocations: 15.62 kB / 1.308 GB, free: 31.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.8568, allocations: 321.4 kB / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.8568, allocations: 0 / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.8569, allocations: 2.688 kB / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.8569, allocations: 15.39 kB / 1.308 GB, free: 30.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8569, allocations: 0 / 1.308 GB, free: 30.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.466e-05/0.8569, allocations: 38.14 kB / 1.308 GB, free: 30.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.8569, allocations: 5.031 kB / 1.308 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.8569, allocations: 8.031 kB / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.857, allocations: 0 / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.857, allocations: 2.562 kB / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.857, allocations: 320 / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.857, allocations: 3.281 kB / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.857, allocations: 0 / 1.308 GB, free: 30.71 MB / 1.061 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 3.627e-05/0.8571, allocations: 112.3 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.8571, allocations: 6.484 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.8571, allocations: 50.27 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8571, allocations: 3.156 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8571, allocations: 0 / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.8571, allocations: 0 / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.462e-05/0.8572, allocations: 159.2 kB / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8572, allocations: 0 / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.8572, allocations: 3.281 kB / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.8572, allocations: 0 / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.8572, allocations: 3.938 kB / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8572, allocations: 3.984 kB / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.8572, allocations: 0 / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.872e-05/0.8573, allocations: 65.14 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.8573, allocations: 83.88 kB / 1.309 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.8573, allocations: 3.938 kB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.8573, allocations: 3.938 kB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.8573, allocations: 8 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.8573, allocations: 10.69 kB / 1.309 GB, free: 30.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.8573, allocations: 91.12 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8573, allocations: 4.031 kB / 1.309 GB, free: 30.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001883/0.8575, allocations: 2.844 kB / 1.309 GB, free: 30.06 MB / 1.061 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.0001474/0.8577, allocations: 108 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.8578, allocations: 9.594 kB / 1.309 GB, free: 29.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.8578, allocations: 0 / 1.309 GB, free: 29.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-06/0.8578, allocations: 10.45 kB / 1.309 GB, free: 29.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.8579, allocations: 2.656 kB / 1.309 GB, free: 29.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.8581, allocations: 114.8 kB / 1.309 GB, free: 29.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.666e-05/0.8582, allocations: 0.6813 MB / 1.31 GB, free: 29.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.8582, allocations: 2.812 kB / 1.31 GB, free: 29.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.8582, allocations: 13.5 kB / 1.31 GB, free: 29.15 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.8582, allocations: 0 / 1.31 GB, free: 29.15 MB / 1.061 GB Notification: Performance of Templates: time 0.002389/0.8606, allocations: 0.4965 MB / 1.31 GB, free: 29.04 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] 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.654622780159116]