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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_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.00117/0.00117, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001168/0.001168, allocations: 191 kB / 17.29 MB, free: 5.516 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.192/2.192, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 65.31 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2429, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002151/0.245, allocations: 1.367 MB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.2452, allocations: 39.88 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.2452, allocations: 3.938 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2453, allocations: 11.92 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.2455, allocations: 19.94 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.2455, allocations: 0 / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.2455, allocations: 19.91 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.2456, allocations: 4 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.2456, allocations: 7.938 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.2456, allocations: 15.92 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2457, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.75e-05/0.2457, allocations: 8 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.2457, allocations: 4 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.2458, allocations: 7.938 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.137e-05/0.2459, allocations: 35.89 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2459, allocations: 4 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2459, allocations: 0 / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2459, allocations: 0 / 1.028 GB, free: 468 kB / 0.795 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.0002867/0.2462, allocations: 331.4 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.2462, allocations: 12.03 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.2462, allocations: 0.9375 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2464, allocations: 176.3 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-06/0.2464, allocations: 384 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2464, allocations: 8.359 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.212e-05/0.2465, allocations: 38.19 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.2465, allocations: 4.125 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2465, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2465, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.2466, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.2467, allocations: 161.7 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 2.922e-05/0.2467, allocations: 18.61 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.2467, allocations: 8.859 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.2468, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2468, allocations: 42.55 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2468, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 9.912e-05/0.2469, allocations: 41.64 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.2469, allocations: 51.41 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.247, allocations: 117.8 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.247, allocations: 29.83 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.2471, allocations: 80.14 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.2471, allocations: 15.89 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.2471, allocations: 9.719 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.2472, allocations: 310.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.2472, allocations: 4 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.2472, allocations: 3.938 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.2473, allocations: 16.92 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2473, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.067e-05/0.2473, allocations: 37.69 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.2474, allocations: 4 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2474, allocations: 3.938 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2474, allocations: 4 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.2474, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.2474, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.2474, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2474, allocations: 3.984 kB / 1.03 GB, free: 14.71 MB / 0.8106 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 5.452e-05/0.2475, allocations: 125.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2475, allocations: 3.906 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/0.2476, allocations: 49.11 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2476, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2476, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2476, allocations: 7.984 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.2477, allocations: 153.7 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2477, allocations: 3.938 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.2477, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2477, allocations: 7.969 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2478, allocations: 3.938 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2478, allocations: 4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2478, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.135e-05/0.2478, allocations: 65.06 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.2479, allocations: 77.11 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.2479, allocations: 3.938 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-06/0.2479, allocations: 4.031 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.2479, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2479, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.248, allocations: 91.27 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.248, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001701/0.2482, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 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.0001469/0.2483, allocations: 116 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.273e-05/0.2484, allocations: 4 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2484, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.2484, allocations: 7.938 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.2485, allocations: 2.656 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.2487, allocations: 128.6 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2489, allocations: 0.6808 MB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.2489, allocations: 4 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.249, allocations: 19.36 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.249, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of Templates: time 0.00196/0.2509, allocations: 494.5 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches