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.001464/0.001464, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001524/0.001524, allocations: 166.1 kB / 22.46 MB, free: 5.355 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.004/3.004, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.117e-05, allocations: 6.219 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001932/0.001964, allocations: 0.697 MB / 1.001 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003239, allocations: 0.8275 MB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.003286, allocations: 4 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.003322, allocations: 3.938 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.003393, allocations: 7.984 kB / 1.002 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.463e-05/0.003468, allocations: 11.98 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.003578, allocations: 47.84 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.003693, allocations: 7.984 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.003792, allocations: 23.92 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.003839, allocations: 15.98 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.003871, allocations: 4 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.003879, allocations: 4 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.003901, allocations: 19.86 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.003931, allocations: 8 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.004062, allocations: 47.84 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004065, allocations: 0 / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004066, allocations: 0 / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.00407, allocations: 0 / 1.002 GB, free: 5.488 MB / 0.9512 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.0006262/0.004697, allocations: 286.2 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.004739, allocations: 8.031 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.004784, allocations: 12.89 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.004935, allocations: 113.7 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.004944, allocations: 384 / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.004959, allocations: 384 / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.005225, allocations: 70.22 kB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.005237, allocations: 192 / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.00525, allocations: 384 / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005256, allocations: 4.312 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.005571, allocations: 75.8 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.005993, allocations: 200.6 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.006218, allocations: 58.53 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.006381, allocations: 36.92 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.006392, allocations: 0 / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.006422, allocations: 42.48 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 3.116e-06/0.006425, allocations: 7.984 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005882/0.007014, allocations: 129.5 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.00706, allocations: 51.41 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.007161, allocations: 109.8 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.007179, allocations: 29.7 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.007241, allocations: 88.14 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.007265, allocations: 11.88 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.007301, allocations: 13.72 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.007443, allocations: 314.8 kB / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.007594, allocations: 35.95 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.007757, allocations: 31.91 kB / 1.004 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.008046, allocations: 72.78 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008048, allocations: 0 / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003361/0.008384, allocations: 97.58 kB / 1.004 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.008403, allocations: 7.938 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.008407, allocations: 0 / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.008428, allocations: 7.938 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.008576, allocations: 23.97 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.008581, allocations: 0 / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.008662, allocations: 11.98 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.00867, allocations: 0 / 1.004 GB, free: 3.398 MB / 0.9512 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 9.328e-05/0.008763, allocations: 121.8 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.008789, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.008819, allocations: 7.938 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.008823, allocations: 8 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.008829, allocations: 0 / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.008832, allocations: 0 / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.008997, allocations: 117.3 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008998, allocations: 0 / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.009101, allocations: 15.97 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.009104, allocations: 0 / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009112, allocations: 0 / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.009116, allocations: 7.938 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009117, allocations: 0 / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.009522, allocations: 191.4 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.009536, allocations: 11.92 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.009552, allocations: 4 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.009679, allocations: 11.92 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.009727, allocations: 7.938 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.009731, allocations: 0 / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.009794, allocations: 95.27 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.009795, allocations: 4 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002192/0.01001, allocations: 4 kB / 1.004 GB, free: 2.742 MB / 0.9512 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.0001436/0.01016, allocations: 95.25 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.01052, allocations: 64.3 kB / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01052, allocations: 0 / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.01068, allocations: 39.95 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.01099, allocations: 8 kB / 1.005 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.01137, allocations: 140.8 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.065e-05/0.01144, allocations: 67.28 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.01147, allocations: 3.984 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01151, allocations: 20.5 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.01151, allocations: 0 / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of Templates: time 0.003787/0.0153, allocations: 0.7212 MB / 1.005 GB, free: 1.543 MB / 0.9512 GB " [Timeout remaining time 300] 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/jenkins/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: 8.451531529426575]