Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001794/0.001794, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.002058/0.002058, allocations: 158.8 kB / 22.46 MB, free: 5.375 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 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.814/2.814, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.446e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002534/0.002558, allocations: 1.385 MB / 0.9828 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000157/0.002715, allocations: 43.81 kB / 0.9828 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.00275, allocations: 0 / 0.9828 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.002886, allocations: 11.94 kB / 0.9828 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.002994, allocations: 27.78 kB / 0.9828 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.002997, allocations: 0 / 0.9828 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.003064, allocations: 15.88 kB / 0.9828 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.003108, allocations: 8 kB / 0.9829 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.003154, allocations: 11.98 kB / 0.9829 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.003214, allocations: 11.92 kB / 0.9829 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.003233, allocations: 0 / 0.9829 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.003288, allocations: 12 kB / 0.9829 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.003321, allocations: 0 / 0.9829 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.003343, allocations: 7.938 kB / 0.9829 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.003453, allocations: 35.89 kB / 0.9829 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003455, allocations: 0 / 0.9829 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003456, allocations: 0 / 0.9829 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.003459, allocations: 0 / 0.9829 GB, free: 9.371 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.0003328/0.003792, allocations: 258.2 kB / 0.9832 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.003825, allocations: 8.031 kB / 0.9832 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.003853, allocations: 4.938 kB / 0.9832 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.004015, allocations: 125.7 kB / 0.9833 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.004024, allocations: 4.312 kB / 0.9833 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.004033, allocations: 384 / 0.9833 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.004116, allocations: 38.25 kB / 0.9834 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004123, allocations: 192 / 0.9834 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.004131, allocations: 4.375 kB / 0.9834 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.004152, allocations: 8.359 kB / 0.9834 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.004172, allocations: 3.938 kB / 0.9834 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.004307, allocations: 105.3 kB / 0.9835 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.004359, allocations: 26.55 kB / 0.9835 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.004384, allocations: 8.844 kB / 0.9835 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.004404, allocations: 4.062 kB / 0.9835 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.004433, allocations: 30.56 kB / 0.9835 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.004435, allocations: 4 kB / 0.9835 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.004568, allocations: 37.7 kB / 0.9836 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.004608, allocations: 51.41 kB / 0.9836 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.004735, allocations: 121.7 kB / 0.9837 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.004753, allocations: 25.7 kB / 0.9838 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.004805, allocations: 92.06 kB / 0.9839 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.004824, allocations: 3.953 kB / 0.9839 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.004855, allocations: 17.72 kB / 0.9839 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.005011, allocations: 310.8 kB / 0.9842 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.005023, allocations: 0 / 0.9842 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.005032, allocations: 8.125 kB / 0.9842 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.005064, allocations: 16.84 kB / 0.9842 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.005066, allocations: 0 / 0.9842 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.474e-05/0.005131, allocations: 33.7 kB / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005144, allocations: 7.938 kB / 0.9842 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005148, allocations: 0 / 0.9842 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.00516, allocations: 0 / 0.9842 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.005211, allocations: 7.938 kB / 0.9842 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.005215, allocations: 0 / 0.9842 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.00523, allocations: 3.938 kB / 0.9842 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.005235, allocations: 4.094 kB / 0.9842 GB, free: 7.848 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 9.273e-05/0.005328, allocations: 118.4 kB / 0.9844 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.005339, allocations: 7.891 kB / 0.9844 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.005429, allocations: 37.17 kB / 0.9844 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.005431, allocations: 0 / 0.9844 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.005437, allocations: 3.984 kB / 0.9844 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005441, allocations: 3.938 kB / 0.9844 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.192e-05/0.005533, allocations: 101.3 kB / 0.9845 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005533, allocations: 0 / 0.9845 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.005549, allocations: 8.016 kB / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.00555, allocations: 4 kB / 0.9845 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.005556, allocations: 0 / 0.9845 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.005557, allocations: 0 / 0.9845 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005558, allocations: 0 / 0.9845 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.401e-05/0.005652, allocations: 69.02 kB / 0.9846 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.005662, allocations: 3.984 kB / 0.9846 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.005673, allocations: 0 / 0.9846 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.005688, allocations: 4 kB / 0.9846 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.005704, allocations: 4 kB / 0.9846 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.005706, allocations: 0 / 0.9846 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.005775, allocations: 99.3 kB / 0.9847 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.005775, allocations: 0 / 0.9847 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001992/0.005974, allocations: 7.938 kB / 0.9847 GB, free: 7.32 MB / 0.8887 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.000238/0.006212, allocations: 114.8 kB / 0.9848 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.842e-05/0.00628, allocations: 7.938 kB / 0.9848 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006282, allocations: 64 / 0.9848 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.006294, allocations: 11.98 kB / 0.9848 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.006436, allocations: 11.88 kB / 0.9848 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.0067, allocations: 108 kB / 0.9849 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.006782, allocations: 59.34 kB / 0.985 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.356e-05/0.006845, allocations: 4 kB / 0.985 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.006866, allocations: 12.44 kB / 0.985 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.006866, allocations: 4 kB / 0.985 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of Templates: time 0.002993/0.009859, allocations: 0.5063 MB / 0.9855 GB, free: 6.445 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.821387682110071]