Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.00187/0.00187, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.00201/0.00201, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.964/2.964, allocations: 359 MB / 0.6048 GB, free: 10.96 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.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.7865 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.624e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002561/0.002597, allocations: 0.7025 MB / 0.7871 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004163, allocations: 0.8367 MB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.004206, allocations: 4 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.00424, allocations: 4.688 kB / 0.788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.004331, allocations: 4.688 kB / 0.788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.703e-05/0.004428, allocations: 19.97 kB / 0.788 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004543, allocations: 40.42 kB / 0.788 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.00466, allocations: 12.61 kB / 0.788 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.004777, allocations: 27.91 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.004828, allocations: 13.39 kB / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.004852, allocations: 4 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.004868, allocations: 4 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.004897, allocations: 11.92 kB / 0.7881 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.00493, allocations: 9 kB / 0.7881 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.005065, allocations: 47.84 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005068, allocations: 1.25 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005069, allocations: 0 / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005073, allocations: 0 / 0.7882 GB, free: 10.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006667/0.00574, allocations: 381.6 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.005785, allocations: 12.03 kB / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.005834, allocations: 4.891 kB / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.005982, allocations: 108.6 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.006, allocations: 9.5 kB / 0.7886 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.006011, allocations: 384 / 0.7886 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.006245, allocations: 59.14 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006255, allocations: 192 / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006266, allocations: 384 / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.00627, allocations: 1.438 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.00652, allocations: 48.41 kB / 0.7887 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.007025, allocations: 269.4 kB / 0.789 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.00723, allocations: 54.98 kB / 0.7891 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.007383, allocations: 31.77 kB / 0.7891 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.007401, allocations: 1.25 kB / 0.7891 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.007443, allocations: 33.39 kB / 0.7891 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.007444, allocations: 4 kB / 0.7891 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005128/0.007957, allocations: 104.5 kB / 0.7892 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.00801, allocations: 51.41 kB / 0.7893 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.008184, allocations: 173.9 kB / 0.7894 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.008219, allocations: 25.7 kB / 0.7895 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.008327, allocations: 138.8 kB / 0.7896 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.008351, allocations: 7.891 kB / 0.7896 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.008418, allocations: 28.08 kB / 0.7896 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005602/0.008979, allocations: 492.1 kB / 0.7901 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.009103, allocations: 25.64 kB / 0.7901 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.009222, allocations: 19.98 kB / 0.7901 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.009447, allocations: 53.41 kB / 0.7902 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009449, allocations: 3.938 kB / 0.7902 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/0.009747, allocations: 81.91 kB / 0.7903 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.009768, allocations: 13.12 kB / 0.7903 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009774, allocations: 0 / 0.7903 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.00979, allocations: 0 / 0.7903 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.009912, allocations: 9.531 kB / 0.7903 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.009918, allocations: 0 / 0.7903 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.009991, allocations: 11.94 kB / 0.7903 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.009999, allocations: 0.8125 kB / 0.7903 GB, free: 8.441 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 (3): * Single equations (assignments): 3 * 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.0001547/0.01015, allocations: 162.3 kB / 0.7905 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01019, allocations: 0 / 0.7905 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.01023, allocations: 11.94 kB / 0.7905 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01023, allocations: 0 / 0.7905 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.01023, allocations: 0 / 0.7905 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.01024, allocations: 4.891 kB / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.01047, allocations: 124.6 kB / 0.7906 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01047, allocations: 0.5312 kB / 0.7906 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.01056, allocations: 8.656 kB / 0.7906 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01057, allocations: 0 / 0.7906 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01058, allocations: 4.531 kB / 0.7906 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.01058, allocations: 3.938 kB / 0.7906 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01059, allocations: 1.312 kB / 0.7906 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.01099, allocations: 227.8 kB / 0.7908 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01101, allocations: 4.531 kB / 0.7908 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01103, allocations: 1.375 kB / 0.7908 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.01114, allocations: 15.92 kB / 0.7909 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.0112, allocations: 3.984 kB / 0.7909 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.0112, allocations: 1.156 kB / 0.7909 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000115/0.01132, allocations: 135.2 kB / 0.791 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01132, allocations: 0 / 0.791 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003498/0.01167, allocations: 8 kB / 0.791 GB, free: 7.68 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 (3): * Single equations (assignments): 3 * 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.0001909/0.01186, allocations: 96.34 kB / 0.7911 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.01219, allocations: 56.39 kB / 0.7911 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01219, allocations: 0.9375 kB / 0.7911 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.01233, allocations: 37.02 kB / 0.7912 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.01272, allocations: 11.94 kB / 0.7912 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.01318, allocations: 139 kB / 0.7913 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.01327, allocations: 69.38 kB / 0.7914 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.985e-05/0.01331, allocations: 4 kB / 0.7914 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.01336, allocations: 8.5 kB / 0.7914 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01336, allocations: 0 / 0.7914 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.004525/0.01788, allocations: 0.746 MB / 0.7921 GB, free: 6.492 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.07794517010916]