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.0009605/0.0009605, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001004/0.001004, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9519/0.9519, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 2.137/2.137, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.656e-05, allocations: 4.703 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002068/0.002094, allocations: 1.433 MB / 0.8808 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.002212, allocations: 40.81 kB / 0.8808 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.002257, allocations: 1.094 kB / 0.8808 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.002402, allocations: 16.47 kB / 0.8808 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.002501, allocations: 21.11 kB / 0.8808 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.002504, allocations: 1.344 kB / 0.8808 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.002564, allocations: 19.44 kB / 0.8809 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.0026, allocations: 3.984 kB / 0.8809 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.002641, allocations: 5.188 kB / 0.8809 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.002681, allocations: 11.92 kB / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002694, allocations: 0 / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/0.00273, allocations: 12 kB / 0.8809 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.002759, allocations: 1 kB / 0.8809 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.212e-05/0.002771, allocations: 4 kB / 0.8809 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.002855, allocations: 33.38 kB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002857, allocations: 0 / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002858, allocations: 3.938 kB / 0.8809 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002861, allocations: 0 / 0.8809 GB, free: 4.469 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.0002211/0.003082, allocations: 365.8 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.003112, allocations: 8.031 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.003133, allocations: 8.891 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.003242, allocations: 117.5 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.003248, allocations: 384 / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-06/0.003254, allocations: 4.375 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.758e-05/0.003301, allocations: 29.7 kB / 0.8814 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-06/0.003305, allocations: 192 / 0.8814 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-06/0.00331, allocations: 384 / 0.8814 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.003329, allocations: 4.359 kB / 0.8814 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-06/0.003338, allocations: 7.938 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.395e-05/0.003412, allocations: 105.2 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.658e-05/0.003438, allocations: 23.06 kB / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.018e-05/0.003449, allocations: 11.62 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.003461, allocations: 8.062 kB / 0.8816 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.003478, allocations: 33.39 kB / 0.8816 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.003478, allocations: 0 / 0.8816 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 7.713e-05/0.003556, allocations: 37.62 kB / 0.8817 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.003579, allocations: 55.41 kB / 0.8817 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.003646, allocations: 165.9 kB / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.003653, allocations: 29.7 kB / 0.8819 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.003688, allocations: 130.9 kB / 0.882 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.003705, allocations: 3.953 kB / 0.882 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.003725, allocations: 15.38 kB / 0.882 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.003833, allocations: 0.5002 MB / 0.8825 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.00384, allocations: 0 / 0.8825 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.003845, allocations: 16 / 0.8825 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.69e-05/0.003862, allocations: 11.69 kB / 0.8825 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.003863, allocations: 0 / 0.8825 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.533e-05/0.003909, allocations: 41.64 kB / 0.8826 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.003919, allocations: 4 kB / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.003922, allocations: 0 / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.003927, allocations: 0 / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.175e-05/0.003959, allocations: 3.984 kB / 0.8826 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.003961, allocations: 8.094 kB / 0.8826 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.003969, allocations: 0 / 0.8826 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.003973, allocations: 3.938 kB / 0.8826 GB, free: 2.562 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 5.147e-05/0.004025, allocations: 152.6 kB / 0.8828 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.004031, allocations: 4 kB / 0.8828 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.004086, allocations: 41.11 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.004088, allocations: 0 / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.004089, allocations: 3.938 kB / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.004092, allocations: 8 kB / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.532e-05/0.004148, allocations: 97.23 kB / 0.8829 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004148, allocations: 8 kB / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.004156, allocations: 0 / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.004157, allocations: 0 / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-06/0.004159, allocations: 0 / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004161, allocations: 3.984 kB / 0.8829 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.004162, allocations: 3.938 kB / 0.8829 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.68e-05/0.004209, allocations: 76.39 kB / 0.883 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.004215, allocations: 8 kB / 0.883 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-06/0.004221, allocations: 0 / 0.883 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-06/0.004225, allocations: 0 / 0.883 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-06/0.004234, allocations: 8.016 kB / 0.883 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004236, allocations: 4 kB / 0.883 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.004269, allocations: 123.2 kB / 0.8831 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004269, allocations: 0 / 0.8831 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001249/0.004394, allocations: 11.94 kB / 0.8831 GB, free: 1.953 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.0001447/0.004539, allocations: 122.5 kB / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.292e-05/0.004582, allocations: 15.69 kB / 0.8833 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.004583, allocations: 0 / 0.8833 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.004589, allocations: 7.688 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.482e-05/0.004684, allocations: 12.39 kB / 0.8833 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.004855, allocations: 106.4 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.004882, allocations: 63.34 kB / 0.8834 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.004896, allocations: 4 kB / 0.8835 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.004924, allocations: 66.2 kB / 0.8835 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.004924, allocations: 4.125 kB / 0.8835 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of Templates: time 0.001898/0.006822, allocations: 0.5603 MB / 0.8841 GB, free: 0.9414 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.311510683968663]