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.001999/0.001999, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002451/0.002451, allocations: 163.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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 2.034/2.034, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.949/2.949, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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 1.603e-06/1.603e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.585e-05, allocations: 5.938 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002536/0.002562, allocations: 1.399 MB / 1.001 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.002731, allocations: 35.84 kB / 1.002 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.002781, allocations: 4 kB / 1.002 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.002935, allocations: 19.78 kB / 1.002 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.003042, allocations: 11.94 kB / 1.002 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.003047, allocations: 0 / 1.002 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.003125, allocations: 19.92 kB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.003177, allocations: 4 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.003232, allocations: 11.94 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.003278, allocations: 3.984 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.003299, allocations: 4 kB / 1.002 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.008e-05/0.003349, allocations: 11.98 kB / 1.002 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.003385, allocations: 4 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.003403, allocations: 7.938 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003517, allocations: 27.91 kB / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00352, allocations: 0 / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003521, allocations: 0 / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.003523, allocations: 0 / 1.002 GB, free: 5.723 MB / 0.9512 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.0003511/0.003874, allocations: 266.2 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.003909, allocations: 8.031 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.003935, allocations: 0.9375 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.004126, allocations: 125.7 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004137, allocations: 384 / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.004148, allocations: 4.375 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.7e-05/0.004245, allocations: 34.2 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.004256, allocations: 8.109 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.004262, allocations: 384 / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.004281, allocations: 384 / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.004305, allocations: 7.938 kB / 1.002 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.004433, allocations: 105.4 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.004483, allocations: 18.56 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.004501, allocations: 12.86 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.004518, allocations: 0 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.004548, allocations: 34.56 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.004549, allocations: 0 / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.004672, allocations: 41.66 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.004709, allocations: 55.41 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.00482, allocations: 117.8 kB / 1.002 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.004834, allocations: 25.7 kB / 1.002 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.004878, allocations: 84.12 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.004894, allocations: 4 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.004923, allocations: 13.72 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.005055, allocations: 310.8 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.005072, allocations: 12.06 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-06/0.005078, allocations: 0 / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.005106, allocations: 16.84 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005107, allocations: 0 / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.459e-05/0.005172, allocations: 37.66 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005184, allocations: 4 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.005187, allocations: 0 / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.005199, allocations: 0 / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.005242, allocations: 7.938 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.005246, allocations: 96 / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.00526, allocations: 7.938 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005265, allocations: 3.938 kB / 1.003 GB, free: 4.207 MB / 0.9512 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 8.072e-05/0.005346, allocations: 121.8 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.005355, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.226e-05/0.005447, allocations: 45.16 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.005451, allocations: 3.984 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.005455, allocations: 4 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.005459, allocations: 3.938 kB / 1.003 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.005542, allocations: 101.3 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005543, allocations: 7.969 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.005559, allocations: 3.984 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005561, allocations: 0 / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.005568, allocations: 4 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005569, allocations: 0 / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00557, allocations: 4 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.601e-05/0.005656, allocations: 64.97 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.005664, allocations: 3.984 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.005674, allocations: 0 / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.005686, allocations: 4 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.005701, allocations: 0 / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.005703, allocations: 4.031 kB / 1.003 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.005766, allocations: 95.58 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.005766, allocations: 0 / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002043/0.00597, allocations: 7.938 kB / 1.003 GB, free: 3.672 MB / 0.9512 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.0002062/0.006176, allocations: 116 kB / 1.004 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.006243, allocations: 12 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.00625, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.006263, allocations: 7.922 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.006417, allocations: 8 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.006689, allocations: 100.9 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.006754, allocations: 67.28 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.00678, allocations: 7.938 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.006801, allocations: 8.5 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.006802, allocations: 0 / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.00288/0.009682, allocations: 499.9 kB / 1.004 GB, free: 2.816 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 800] 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.577131051570177]