Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.001456/0.001456, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001639/0.001639, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.866/2.866, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.002e-05, allocations: 6.312 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002995/0.003025, allocations: 1.496 MB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004029, allocations: 452.7 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.004088, allocations: 4.594 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.004122, allocations: 8.719 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/0.004215, allocations: 3.938 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.004381, allocations: 28.95 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.00449, allocations: 47.84 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.004593, allocations: 8 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.004677, allocations: 40.95 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.00474, allocations: 7.984 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.004764, allocations: 4 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.004779, allocations: 8.5 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.004805, allocations: 12.67 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.004855, allocations: 15.98 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.004981, allocations: 44.72 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004984, allocations: 4 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004984, allocations: 0.6562 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004988, allocations: 0 / 0.7885 GB, free: 10.69 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005624/0.005551, allocations: 279 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.005591, allocations: 13.69 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.005645, allocations: 12.88 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005791, allocations: 121.7 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.005803, allocations: 384 / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.005819, allocations: 9.719 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.005958, allocations: 58.25 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005968, allocations: 4.172 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.005981, allocations: 4.359 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005987, allocations: 5.531 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.006057, allocations: 31.92 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.00656, allocations: 236 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.00669, allocations: 54.59 kB / 0.7892 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.006742, allocations: 24.88 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.006758, allocations: 4 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.00695, allocations: 67.39 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.006951, allocations: 0 / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002729/0.007224, allocations: 105.6 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.007283, allocations: 59.34 kB / 0.7895 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007393, allocations: 105.8 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.007425, allocations: 34.33 kB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.007489, allocations: 80.83 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.007525, allocations: 31.77 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.007578, allocations: 26.34 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.007758, allocations: 322.8 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.007799, allocations: 13.06 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.007878, allocations: 47.42 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.007992, allocations: 71.89 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007994, allocations: 1.312 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001757/0.008169, allocations: 101.5 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008184, allocations: 4 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.008189, allocations: 1.125 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.00821, allocations: 4 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.008291, allocations: 15.94 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008296, allocations: 0.5 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.008365, allocations: 8.859 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.008374, allocations: 4 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001072/0.008481, allocations: 116.3 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.008508, allocations: 19.88 kB / 0.7905 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.008534, allocations: 17.09 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008535, allocations: 3.938 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.00854, allocations: 0 / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.008547, allocations: 6.203 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.008986, allocations: 294.1 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008987, allocations: 0 / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.009015, allocations: 4 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.009019, allocations: 3.984 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.009033, allocations: 10.94 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.009035, allocations: 0 / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009036, allocations: 0 / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.009251, allocations: 187.8 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.009264, allocations: 4 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.00928, allocations: 4 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.009369, allocations: 8.062 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.009414, allocations: 3.984 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.009427, allocations: 13.42 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.009483, allocations: 79.28 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009483, allocations: 0 / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000256/0.009739, allocations: 19.95 kB / 0.7911 GB, free: 7.758 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001193/0.009858, allocations: 100.4 kB / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.01001, allocations: 56.5 kB / 0.7912 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01001, allocations: 0.7812 kB / 0.7912 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.01006, allocations: 20 kB / 0.7913 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01036, allocations: 21.3 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.01084, allocations: 161.2 kB / 0.7914 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.01092, allocations: 73.02 kB / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.01095, allocations: 4 kB / 0.7915 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.01099, allocations: 16.5 kB / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of SimCode: time 5.82e-07/0.01099, allocations: 0 / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.003722/0.01471, allocations: 0.8283 MB / 0.7923 GB, free: 6.477 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.858841193956323]