Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.0017/0.0017, allocations: 101.6 kB / 16.45 MB, free: 6.5 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.002183/0.002183, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.628/1.628, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.468/3.468, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002284/0.002284, allocations: 66.88 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4197, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002123/0.4218, allocations: 0.7731 MB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.423, allocations: 0.9055 MB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.423, allocations: 0 / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.4231, allocations: 3.938 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.4232, allocations: 7.875 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4234, allocations: 39.94 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.4235, allocations: 83.83 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4236, allocations: 23.91 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.4237, allocations: 35.91 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4238, allocations: 47.83 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.4239, allocations: 11.98 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.4239, allocations: 12 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.4239, allocations: 23.86 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.424, allocations: 31.8 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.4241, allocations: 83.66 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4241, allocations: 8 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4241, allocations: 0 / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4241, allocations: 0 / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007072/0.4248, allocations: 395.1 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4249, allocations: 15.98 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.4249, allocations: 8.891 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4251, allocations: 180.2 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4251, allocations: 20.25 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.4251, allocations: 4.375 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.4255, allocations: 113.5 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4255, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4256, allocations: 4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4256, allocations: 4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.426, allocations: 95.89 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.4265, allocations: 344.6 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.4272, allocations: 118.6 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.4274, allocations: 60.8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4274, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4275, allocations: 34.55 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.4275, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007097/0.4282, allocations: 189.4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.4282, allocations: 51.41 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.4283, allocations: 125.8 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4283, allocations: 29.7 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4284, allocations: 96.09 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.4284, allocations: 27.78 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.4285, allocations: 21.7 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4286, allocations: 318.8 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.4288, allocations: 43.95 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.429, allocations: 43.95 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.4294, allocations: 104.7 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4294, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000445/0.4298, allocations: 129.6 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4298, allocations: 8 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4298, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4299, allocations: 4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.43, allocations: 27.97 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.43, allocations: 3.984 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.4302, allocations: 23.81 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4302, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001006/0.4303, allocations: 117.8 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.4303, allocations: 8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.4303, allocations: 12.36 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4303, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4303, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4303, allocations: 7.938 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.4306, allocations: 193.6 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4306, allocations: 3.984 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.4307, allocations: 27.97 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4307, allocations: 3.938 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4307, allocations: 8 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4307, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4307, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.4312, allocations: 243.3 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.4313, allocations: 81.05 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.4313, allocations: 12 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4315, allocations: 7.984 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.4316, allocations: 27.91 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4316, allocations: 4 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.786e-05/0.4316, allocations: 91.27 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4316, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002364/0.4319, allocations: 19.95 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000127/0.432, allocations: 103.2 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.4325, allocations: 100.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4325, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.4327, allocations: 63.88 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.433, allocations: 12 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.4335, allocations: 170.5 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.4338, allocations: 0.6885 MB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.4339, allocations: 15.98 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.4339, allocations: 19.42 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4339, allocations: 3.938 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of Templates: time 0.004391/0.4383, allocations: 1.595 MB / 1.329 GB, free: 10.16 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.693218857049942]