Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.0009395/0.0009395, allocations: 80.39 kB / 21.47 MB, free: 3.02 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.0009599/0.0009599, allocations: 166.8 kB / 24.87 MB, free: 9.227 MB / 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.9531/0.9531, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.813/1.813, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.296e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.26 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001347/0.00137, allocations: 0.6263 MB / 0.7889 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 4.343e-05/0.001413, allocations: 0 / 0.7889 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.001431, allocations: 0 / 0.7889 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.001457, allocations: 3.984 kB / 0.7889 GB, free: 11.65 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.001463, allocations: 1.125 kB / 0.7889 GB, free: 11.65 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 3.38e-05/0.001497, allocations: 4 kB / 0.7889 GB, free: 11.65 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 4.741e-05/0.001545, allocations: 4 kB / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.001581, allocations: 0.9062 kB / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.001608, allocations: 0 / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 1.9e-05/0.001627, allocations: 0 / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.001639, allocations: 1.406 kB / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-06/0.001642, allocations: 4 kB / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.001655, allocations: 0 / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 1.079e-05/0.001666, allocations: 0 / 0.7889 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 4.684e-05/0.001713, allocations: 8.984 kB / 0.7889 GB, free: 11.63 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.001715, allocations: 0 / 0.7889 GB, free: 11.63 MB / 0.7449 GB Notification: Performance of FrontEnd: time 7.31e-07/0.001716, allocations: 3.938 kB / 0.7889 GB, free: 11.63 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.00172, allocations: 1.562 kB / 0.7889 GB, free: 11.63 MB / 0.7449 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.0002013/0.001922, allocations: 336.4 kB / 0.7892 GB, free: 11.26 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.001953, allocations: 8.031 kB / 0.7892 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.794e-05/0.001971, allocations: 4.938 kB / 0.7892 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.193e-05/0.002023, allocations: 106.2 kB / 0.7893 GB, free: 11.12 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.002033, allocations: 8.359 kB / 0.7893 GB, free: 11.11 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-06/0.002038, allocations: 384 / 0.7893 GB, free: 11.11 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.225e-05/0.00209, allocations: 31.55 kB / 0.7894 GB, free: 11.08 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.002095, allocations: 192 / 0.7894 GB, free: 11.08 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.002101, allocations: 384 / 0.7894 GB, free: 11.08 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.002104, allocations: 384 / 0.7894 GB, free: 11.08 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-06/0.002113, allocations: 6 kB / 0.7894 GB, free: 11.07 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.499e-05/0.002188, allocations: 101.2 kB / 0.7895 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 3.395e-05/0.002222, allocations: 23.06 kB / 0.7895 GB, free: 10.91 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.002241, allocations: 11.78 kB / 0.7895 GB, free: 10.9 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.002245, allocations: 2.156 kB / 0.7895 GB, free: 10.9 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.002262, allocations: 33.39 kB / 0.7895 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.002262, allocations: 0 / 0.7895 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1): time 8.204e-05/0.002344, allocations: 37.64 kB / 0.7896 GB, free: 10.81 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.00237, allocations: 51.41 kB / 0.7896 GB, free: 10.75 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.479e-05/0.002405, allocations: 146.9 kB / 0.7898 GB, free: 10.59 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.002413, allocations: 25.7 kB / 0.7898 GB, free: 10.56 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.00244, allocations: 128 kB / 0.7899 GB, free: 10.43 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.002467, allocations: 0 / 0.7899 GB, free: 10.43 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.002489, allocations: 19.36 kB / 0.7899 GB, free: 10.41 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.002729, allocations: 0.4934 MB / 0.7904 GB, free: 9.902 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.002736, allocations: 0 / 0.7904 GB, free: 9.902 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.00274, allocations: 0 / 0.7904 GB, free: 9.902 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.002766, allocations: 13.06 kB / 0.7904 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.002767, allocations: 0 / 0.7904 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.243e-05/0.002809, allocations: 35.39 kB / 0.7905 GB, free: 9.848 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.00282, allocations: 4 kB / 0.7905 GB, free: 9.844 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.002824, allocations: 0 / 0.7905 GB, free: 9.844 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/0.002831, allocations: 4 kB / 0.7905 GB, free: 9.84 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.002868, allocations: 0 / 0.7905 GB, free: 9.84 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.00287, allocations: 4.875 kB / 0.7905 GB, free: 9.836 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-06/0.002879, allocations: 3.984 kB / 0.7905 GB, free: 9.832 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.002883, allocations: 8 kB / 0.7905 GB, free: 9.824 MB / 0.7449 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.739e-05/0.00294, allocations: 161.1 kB / 0.7906 GB, free: 9.656 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-06/0.002944, allocations: 2.281 kB / 0.7906 GB, free: 9.656 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.002957, allocations: 3 kB / 0.7906 GB, free: 9.652 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.002959, allocations: 0 / 0.7906 GB, free: 9.652 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.00296, allocations: 0 / 0.7906 GB, free: 9.652 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.002962, allocations: 0 / 0.7906 GB, free: 9.652 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.048e-05/0.003013, allocations: 99.67 kB / 0.7907 GB, free: 9.531 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.003013, allocations: 0 / 0.7907 GB, free: 9.531 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.00302, allocations: 0 / 0.7907 GB, free: 9.531 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.003021, allocations: 0 / 0.7907 GB, free: 9.531 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.003025, allocations: 3.984 kB / 0.7907 GB, free: 9.527 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.003027, allocations: 4 kB / 0.7907 GB, free: 9.523 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.003028, allocations: 0 / 0.7907 GB, free: 9.523 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.126e-05/0.003079, allocations: 73 kB / 0.7908 GB, free: 9.43 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.003084, allocations: 4.531 kB / 0.7908 GB, free: 9.426 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-06/0.00309, allocations: 1.656 kB / 0.7908 GB, free: 9.426 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-06/0.003096, allocations: 0 / 0.7908 GB, free: 9.426 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.003111, allocations: 7.984 kB / 0.7908 GB, free: 9.418 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.003112, allocations: 0 / 0.7908 GB, free: 9.418 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.003139, allocations: 119.2 kB / 0.7909 GB, free: 9.301 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.003139, allocations: 0.8438 kB / 0.7909 GB, free: 9.301 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001123/0.003251, allocations: 4 kB / 0.7909 GB, free: 9.297 MB / 0.7449 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 6.857e-05/0.00332, allocations: 92.09 kB / 0.791 GB, free: 9.199 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 6.456e-05/0.003385, allocations: 12.97 kB / 0.791 GB, free: 9.184 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.003387, allocations: 3.938 kB / 0.791 GB, free: 9.18 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.003394, allocations: 8.531 kB / 0.7911 GB, free: 9.168 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.993e-05/0.003484, allocations: 7.938 kB / 0.7911 GB, free: 9.16 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001489/0.003633, allocations: 80.83 kB / 0.7911 GB, free: 9.051 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.471e-05/0.003657, allocations: 55.34 kB / 0.7912 GB, free: 8.977 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.278e-05/0.00367, allocations: 5.562 kB / 0.7912 GB, free: 8.973 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.003697, allocations: 66.2 kB / 0.7913 GB, free: 8.906 MB / 0.7449 GB Notification: Performance of SimCode: time 6.72e-07/0.003698, allocations: 0 / 0.7913 GB, free: 8.906 MB / 0.7449 GB Notification: Performance of Templates: time 0.001405/0.005103, allocations: 213.5 kB / 0.7915 GB, free: 8.703 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.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: 4.881064793094993]