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.0009408/0.0009408, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009556/0.0009556, allocations: 161 kB / 23.82 MB, free: 0.75 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.9301/0.9301, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.7/1.7, allocations: 359 MB / 0.6052 GB, free: 10.96 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.453e-06/1.453e-06, allocations: 0.6562 kB / 0.787 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.048e-05, allocations: 8.219 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00119/0.001221, allocations: 0.61 MB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.513e-05/0.001276, allocations: 13.86 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.001293, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.001324, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.00133, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.8e-05/0.001368, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.001427, allocations: 0.7188 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.001471, allocations: 7.938 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.001502, allocations: 0.7812 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.001526, allocations: 0 / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.001544, allocations: 1.25 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.001548, allocations: 0 / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.001561, allocations: 0 / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.001582, allocations: 3.938 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.86e-05/0.001641, allocations: 5.391 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.001644, allocations: 0 / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/0.001646, allocations: 4 kB / 0.7877 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.00165, allocations: 0 / 0.7877 GB, free: 11.87 MB / 0.7448 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.0002889/0.001939, allocations: 341.5 kB / 0.788 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.001984, allocations: 8.031 kB / 0.788 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.002024, allocations: 2.438 kB / 0.788 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.002093, allocations: 104.6 kB / 0.7881 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.00211, allocations: 384 / 0.7881 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.002121, allocations: 4.375 kB / 0.7881 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.002216, allocations: 27.92 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.002224, allocations: 192 / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.002235, allocations: 384 / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.002241, allocations: 384 / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.002258, allocations: 11.88 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.616e-05/0.002354, allocations: 114.2 kB / 0.7883 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.002396, allocations: 27.09 kB / 0.7883 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.002418, allocations: 7.688 kB / 0.7883 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.002427, allocations: 5.703 kB / 0.7883 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.002451, allocations: 37.45 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.002451, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.002571, allocations: 37.64 kB / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.002605, allocations: 53.94 kB / 0.7884 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/0.002646, allocations: 142.2 kB / 0.7886 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.002655, allocations: 25.7 kB / 0.7886 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.002687, allocations: 130.9 kB / 0.7887 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.002714, allocations: 0 / 0.7887 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.002736, allocations: 19.38 kB / 0.7887 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.00286, allocations: 496.7 kB / 0.7892 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.00287, allocations: 0 / 0.7892 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.002877, allocations: 4.531 kB / 0.7892 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.002906, allocations: 13 kB / 0.7892 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.002908, allocations: 0 / 0.7892 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.516e-05/0.002943, allocations: 42.73 kB / 0.7893 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.002956, allocations: 4 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.002962, allocations: 0 / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.002977, allocations: 5.359 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.003039, allocations: 4 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.003043, allocations: 0 / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-06/0.003052, allocations: 3.938 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.003057, allocations: 1.75 kB / 0.7893 GB, free: 10.04 MB / 0.7448 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.95e-05/0.003116, allocations: 152.6 kB / 0.7894 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.003121, allocations: 4.344 kB / 0.7894 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.003138, allocations: 3 kB / 0.7894 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.003139, allocations: 0.5938 kB / 0.7894 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.003143, allocations: 0 / 0.7894 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.003145, allocations: 0.9375 kB / 0.7894 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.057e-05/0.003195, allocations: 116.6 kB / 0.7896 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.003196, allocations: 1.938 kB / 0.7896 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-06/0.003202, allocations: 4 kB / 0.7896 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.003203, allocations: 0 / 0.7896 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.003208, allocations: 0 / 0.7896 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.003211, allocations: 7.938 kB / 0.7896 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003211, allocations: 0 / 0.7896 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.844e-05/0.00326, allocations: 74.47 kB / 0.7896 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.003264, allocations: 3.984 kB / 0.7896 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.003271, allocations: 0 / 0.7896 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-06/0.003274, allocations: 4 kB / 0.7896 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.003286, allocations: 0 / 0.7896 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.003287, allocations: 0.5312 kB / 0.7896 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.003314, allocations: 119.9 kB / 0.7898 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003314, allocations: 0 / 0.7898 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001089/0.003423, allocations: 4.531 kB / 0.7898 GB, free: 9.492 MB / 0.7448 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.436e-05/0.003488, allocations: 100.8 kB / 0.7899 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.003555, allocations: 11.62 kB / 0.7899 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.003558, allocations: 4 kB / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-06/0.003563, allocations: 8.594 kB / 0.7899 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.542e-05/0.003648, allocations: 0.8438 kB / 0.7899 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.003829, allocations: 91.94 kB / 0.79 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.81e-05/0.003857, allocations: 56.61 kB / 0.79 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.052e-05/0.003867, allocations: 0 / 0.79 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.003884, allocations: 8.5 kB / 0.79 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.003884, allocations: 0 / 0.79 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.001453/0.005337, allocations: 192.1 kB / 0.7902 GB, free: 8.969 MB / 0.7448 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.740672127343714]