Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001348/0.001348, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001565/0.001565, allocations: 157.9 kB / 23.01 MB, free: 4.598 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.03/3.03, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 64.19 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002112/1.066, allocations: 0.7046 MB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001078/1.067, allocations: 0.8253 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/1.067, allocations: 1.375 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/1.067, allocations: 0.6094 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.169e-05/1.067, allocations: 13.86 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 7.559e-05/1.067, allocations: 9.594 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/1.067, allocations: 48.03 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/1.067, allocations: 12.66 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/1.067, allocations: 17.91 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/1.067, allocations: 17.27 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/1.067, allocations: 4.125 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/1.067, allocations: 7.875 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/1.067, allocations: 7.172 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/1.068, allocations: 17.22 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/1.068, allocations: 40.39 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.068, allocations: 7.875 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/1.068, allocations: 0 / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.804e-06/1.068, allocations: 1.094 kB / 1.188 GB, free: 15.05 MB / 1.076 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.0004999/1.068, allocations: 288 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.068, allocations: 10.19 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/1.068, allocations: 7.531 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/1.068, allocations: 113.7 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.068, allocations: 5.719 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/1.068, allocations: 3.297 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/1.069, allocations: 68.48 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.069, allocations: 192 / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/1.069, allocations: 4.969 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.069, allocations: 0 / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/1.069, allocations: 71.16 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/1.069, allocations: 207.6 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/1.069, allocations: 54.34 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/1.07, allocations: 43.3 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.07, allocations: 0.8438 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/1.07, allocations: 36.58 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.07, allocations: 4.719 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005545/1.07, allocations: 127.2 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/1.07, allocations: 53.39 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/1.07, allocations: 107.5 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/1.07, allocations: 26.5 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/1.07, allocations: 91.55 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.07, allocations: 13.8 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/1.07, allocations: 16.88 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/1.07, allocations: 313.8 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/1.071, allocations: 31.25 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/1.071, allocations: 32.06 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/1.071, allocations: 73.39 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.071, allocations: 0.6562 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003226/1.071, allocations: 97.28 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.071, allocations: 6.906 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/1.071, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.071, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.072, allocations: 28.31 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/1.072, allocations: 1.25 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/1.072, allocations: 18.92 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.072, allocations: 5.312 kB / 1.19 GB, free: 13.5 MB / 1.076 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 5.296e-05/1.072, allocations: 109.1 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/1.072, allocations: 5.25 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/1.072, allocations: 10.19 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/1.072, allocations: 1.828 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.072, allocations: 0 / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.072, allocations: 10.14 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/1.072, allocations: 111 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.072, allocations: 0.7031 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/1.072, allocations: 20.45 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.072, allocations: 0 / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/1.072, allocations: 0 / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.072, allocations: 1.938 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.072, allocations: 0 / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/1.072, allocations: 199 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/1.072, allocations: 5.844 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/1.072, allocations: 1.25 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.072, allocations: 12.31 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/1.072, allocations: 7.469 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.072, allocations: 1.219 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.983e-05/1.072, allocations: 88.8 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.072, allocations: 0 / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002206/1.073, allocations: 13.91 kB / 1.191 GB, free: 12.99 MB / 1.076 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 9.668e-05/1.073, allocations: 97.81 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003513/1.073, allocations: 65.92 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.073, allocations: 1.438 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/1.073, allocations: 36.98 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/1.074, allocations: 6.094 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/1.074, allocations: 127.2 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/1.074, allocations: 71.66 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.994e-05/1.074, allocations: 9.547 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/1.074, allocations: 10.66 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.074, allocations: 4 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of Templates: time 0.003249/1.077, allocations: 0.7194 MB / 1.192 GB, free: 12.57 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.367145629017614]