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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 109.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 192.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 71.89 kB / 1.103 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00177/1.102, allocations: 0.709 MB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008512/1.102, allocations: 0.798 MB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/1.103, allocations: 4.844 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/1.103, allocations: 1.359 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/1.103, allocations: 11.25 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.91e-05/1.103, allocations: 13.86 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.818e-05/1.103, allocations: 42.33 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/1.103, allocations: 13.7 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/1.103, allocations: 21.89 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/1.103, allocations: 22.25 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/1.103, allocations: 3.906 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/1.103, allocations: 3.938 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/1.103, allocations: 6.984 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/1.103, allocations: 17.28 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/1.103, allocations: 40.2 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.103, allocations: 0.7812 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.103, allocations: 0 / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.103, allocations: 4 kB / 1.264 GB, free: 6.859 MB / 0.9981 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.0004761/1.104, allocations: 372.5 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.104, allocations: 8.875 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/1.104, allocations: 8.062 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.104, allocations: 171.8 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/1.104, allocations: 2.062 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/1.104, allocations: 1.906 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/1.104, allocations: 76.62 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.104, allocations: 1.156 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.104, allocations: 7.875 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.104, allocations: 0.8125 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/1.105, allocations: 62.41 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/1.105, allocations: 270.7 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/1.105, allocations: 55.48 kB / 1.265 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.105, allocations: 44.66 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/1.105, allocations: 4 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/1.105, allocations: 32.11 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.105, allocations: 0 / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005592/1.106, allocations: 128.2 kB / 1.265 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/1.106, allocations: 56.8 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/1.106, allocations: 111.4 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-06/1.106, allocations: 26.42 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/1.106, allocations: 86.77 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/1.106, allocations: 13.83 kB / 1.266 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/1.106, allocations: 13.11 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.785e-05/1.106, allocations: 317.7 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/1.106, allocations: 34.66 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/1.107, allocations: 35.98 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/1.107, allocations: 70.28 kB / 1.266 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.107, allocations: 7.875 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000324/1.107, allocations: 102.5 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.107, allocations: 5.125 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.107, allocations: 0.6562 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.107, allocations: 0.8125 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/1.107, allocations: 14.98 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.107, allocations: 0.6875 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/1.107, allocations: 16.05 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.107, allocations: 1.266 kB / 1.266 GB, free: 5.066 MB / 0.9981 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.001e-05/1.108, allocations: 120.2 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/1.108, allocations: 2 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/1.108, allocations: 6.516 kB / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.108, allocations: 0 / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.108, allocations: 0.8438 kB / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.108, allocations: 1.031 kB / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/1.108, allocations: 170.3 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.108, allocations: 9.781 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/1.108, allocations: 18.53 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.108, allocations: 0.6094 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/1.108, allocations: 4.984 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.108, allocations: 0 / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.108, allocations: 1.531 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/1.108, allocations: 201.5 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/1.108, allocations: 78.95 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.108, allocations: 1.812 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.108, allocations: 11.16 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/1.108, allocations: 6.969 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.108, allocations: 1.438 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.151e-05/1.108, allocations: 84.2 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.108, allocations: 4 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002104/1.109, allocations: 10.28 kB / 1.267 GB, free: 4.387 MB / 0.9981 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.0001451/1.109, allocations: 103.2 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000354/1.109, allocations: 66.69 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.109, allocations: 0 / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/1.109, allocations: 38.47 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/1.11, allocations: 12.48 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/1.11, allocations: 151.8 kB / 1.267 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/1.11, allocations: 0.6843 MB / 1.268 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/1.11, allocations: 9.062 kB / 1.268 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.11, allocations: 7.938 kB / 1.268 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of Templates: time 0.002556/1.113, allocations: 0.7455 MB / 1.269 GB, free: 3.363 MB / 0.9981 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 -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_2/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: 11.627840019064024]