Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 112.4 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 186.6 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002637/1.075, allocations: 1.367 MB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001968/1.075, allocations: 50.27 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/1.075, allocations: 0 / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/1.076, allocations: 15.92 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/1.076, allocations: 11.94 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/1.076, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.83e-05/1.076, allocations: 23.86 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/1.076, allocations: 0 / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/1.076, allocations: 7.984 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/1.076, allocations: 19.92 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/1.076, allocations: 0 / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/1.076, allocations: 12 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/1.076, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/1.076, allocations: 15.88 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/1.076, allocations: 23.95 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.076, allocations: 4 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/1.076, allocations: 3.938 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.688e-06/1.076, allocations: 0 / 1.169 GB, free: 2.289 MB / 0.8887 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.0003704/1.077, allocations: 335.3 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.077, allocations: 12.92 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/1.077, allocations: 0.9375 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/1.077, allocations: 180.2 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/1.077, allocations: 384 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/1.077, allocations: 4.375 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/1.077, allocations: 30.25 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.077, allocations: 192 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.077, allocations: 7.938 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.077, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/1.077, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/1.077, allocations: 157.7 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/1.077, allocations: 22.55 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/1.077, allocations: 8.859 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/1.077, allocations: 8.047 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.077, allocations: 38.48 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/1.077, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001554/1.078, allocations: 41.64 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.078, allocations: 51.41 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.078, allocations: 121.8 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/1.078, allocations: 25.7 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/1.078, allocations: 88.14 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/1.078, allocations: 3.906 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/1.078, allocations: 17.64 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.078, allocations: 319 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/1.078, allocations: 4 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/1.078, allocations: 0 / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/1.078, allocations: 12.86 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.078, allocations: 0 / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.649e-05/1.078, allocations: 37.69 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.078, allocations: 4 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.078, allocations: 4 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.078, allocations: 7.875 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/1.078, allocations: 4.094 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.078, allocations: 0 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/1.078, allocations: 0 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/1.078, allocations: 4 kB / 1.17 GB, free: 0.5469 MB / 0.8887 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 7.099e-05/1.078, allocations: 105.8 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/1.078, allocations: 15.89 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/1.079, allocations: 41.16 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.079, allocations: 0 / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.079, allocations: 4.031 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/1.079, allocations: 85.09 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/1.079, allocations: 0 / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-06/1.079, allocations: 0 / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/1.079, allocations: 4 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.88e-05/1.079, allocations: 112.9 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001279/1.079, allocations: 218.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.477e-05/1.079, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.464e-05/1.079, allocations: 95.27 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Backend: time 1.873e-06/1.079, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004471/1.079, allocations: 106.1 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003892/1.08, allocations: 0.5572 MB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.002726/1.083, allocations: 0.5268 MB / 1.172 GB, free: 14.58 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches