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.001483/0.001483, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.001649/0.001649, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.378/3.378, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.159e-05/1.159e-05, allocations: 3.984 kB / 0.8777 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/4.521e-05, allocations: 5.125 kB / 0.8777 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.003297/0.003342, allocations: 0.6979 MB / 0.8783 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.005175, allocations: 0.8228 MB / 0.8791 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.005228, allocations: 0 / 0.8791 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.005261, allocations: 3.938 kB / 0.8792 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.00535, allocations: 14.94 kB / 0.8792 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.222e-05/0.005432, allocations: 11.98 kB / 0.8792 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.005546, allocations: 44.97 kB / 0.8792 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.005654, allocations: 7.984 kB / 0.8792 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.005758, allocations: 27.91 kB / 0.8793 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.005812, allocations: 17.14 kB / 0.8793 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.005834, allocations: 4 kB / 0.8793 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.005843, allocations: 0 / 0.8793 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.005871, allocations: 17.92 kB / 0.8793 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.005907, allocations: 8 kB / 0.8793 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.00604, allocations: 47.84 kB / 0.8793 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006042, allocations: 0 / 0.8793 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006043, allocations: 0 / 0.8793 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.006047, allocations: 2.531 kB / 0.8793 GB, free: 4.578 MB / 0.8386 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.0007326/0.006779, allocations: 290.2 kB / 0.8796 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.006823, allocations: 8.031 kB / 0.8796 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.00688, allocations: 8.938 kB / 0.8796 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.007036, allocations: 113.7 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.00705, allocations: 1.094 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.007067, allocations: 4.375 kB / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.007431, allocations: 71.86 kB / 0.8798 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.00744, allocations: 192 / 0.8798 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.007452, allocations: 384 / 0.8798 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.007457, allocations: 0.875 kB / 0.8798 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.007924, allocations: 69.2 kB / 0.8799 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.008402, allocations: 210.2 kB / 0.8801 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.008719, allocations: 58.53 kB / 0.8801 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.008984, allocations: 40.91 kB / 0.8802 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.009001, allocations: 0 / 0.8802 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.009043, allocations: 34.56 kB / 0.8802 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.009044, allocations: 0 / 0.8802 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0008064/0.00985, allocations: 145.4 kB / 0.8804 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.009919, allocations: 51.41 kB / 0.8804 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01006, allocations: 113.8 kB / 0.8805 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.01009, allocations: 25.7 kB / 0.8805 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.01016, allocations: 84.14 kB / 0.8806 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.0102, allocations: 15.84 kB / 0.8806 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.01025, allocations: 17.7 kB / 0.8807 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.01046, allocations: 318.8 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.01066, allocations: 31.97 kB / 0.881 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.01086, allocations: 35.95 kB / 0.881 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.01124, allocations: 64.78 kB / 0.8811 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01125, allocations: 0 / 0.8811 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004719/0.01172, allocations: 101.6 kB / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.01174, allocations: 11.94 kB / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01175, allocations: 0 / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.01177, allocations: 0 / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.01195, allocations: 15.98 kB / 0.8812 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01195, allocations: 0 / 0.8812 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01205, allocations: 7.984 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01207, allocations: 7.984 kB / 0.8812 GB, free: 2.488 MB / 0.8386 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.0001128/0.01218, allocations: 113.8 kB / 0.8813 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.01223, allocations: 7.953 kB / 0.8813 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.01226, allocations: 11.94 kB / 0.8813 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01226, allocations: 0 / 0.8813 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01227, allocations: 0 / 0.8813 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01227, allocations: 4 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01249, allocations: 109.3 kB / 0.8815 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01249, allocations: 0 / 0.8815 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.01262, allocations: 23.91 kB / 0.8815 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01262, allocations: 4 kB / 0.8815 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01264, allocations: 4 kB / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01264, allocations: 3.938 kB / 0.8815 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.01265, allocations: 4 kB / 0.8815 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.01318, allocations: 187.5 kB / 0.8817 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01319, allocations: 7.953 kB / 0.8817 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.01321, allocations: 384 / 0.8817 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.01337, allocations: 19.91 kB / 0.8817 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.01342, allocations: 8 kB / 0.8817 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01343, allocations: 0 / 0.8817 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.0135, allocations: 87.27 kB / 0.8818 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0135, allocations: 0 / 0.8818 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003791/0.01388, allocations: 8 kB / 0.8818 GB, free: 1.84 MB / 0.8386 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.0001611/0.01404, allocations: 99.19 kB / 0.8819 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.01448, allocations: 75.84 kB / 0.882 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01449, allocations: 0 / 0.882 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.0147, allocations: 35.95 kB / 0.882 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.01517, allocations: 11.94 kB / 0.882 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.01555, allocations: 120.6 kB / 0.8821 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.01565, allocations: 79.12 kB / 0.8822 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.01568, allocations: 7.938 kB / 0.8822 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.01572, allocations: 8.5 kB / 0.8822 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01572, allocations: 0 / 0.8822 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of Templates: time 0.00336/0.01908, allocations: 0.7409 MB / 0.8829 GB, free: 0.6289 MB / 0.8386 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.398387675988488]