Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.00244/0.00244, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.507/1.507, allocations: 177.2 MB / 202.8 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.877/2.877, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.709e-06/4.709e-06, allocations: 4 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.918e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001892/0.001931, allocations: 0.702 MB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.003413, allocations: 0.8354 MB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.003452, allocations: 0 / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003481, allocations: 3.984 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.628e-05/0.003577, allocations: 7.875 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.667e-05/0.003654, allocations: 11.98 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.003753, allocations: 39.92 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.003859, allocations: 11.92 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.00395, allocations: 31.97 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.003991, allocations: 7.984 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.004022, allocations: 7.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.004031, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.004061, allocations: 11.92 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.004097, allocations: 12 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.00421, allocations: 39.86 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.004214, allocations: 7.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004215, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.004222, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 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.0005745/0.004796, allocations: 290.2 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.00484, allocations: 12.03 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.004868, allocations: 4.891 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.005003, allocations: 113.8 kB / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.005014, allocations: 384 / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005032, allocations: 8.375 kB / 0.9836 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.00528, allocations: 62.22 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005287, allocations: 192 / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005298, allocations: 8.375 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.005307, allocations: 4.375 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.005605, allocations: 67.8 kB / 0.9837 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.006068, allocations: 212.6 kB / 0.9839 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.006311, allocations: 50.53 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.006504, allocations: 40.92 kB / 0.984 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.006526, allocations: 11.98 kB / 0.984 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.006557, allocations: 30.56 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.006559, allocations: 0 / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006213/0.00718, allocations: 133.5 kB / 0.9842 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.007227, allocations: 51.41 kB / 0.9842 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.00733, allocations: 109.8 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.007352, allocations: 25.7 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.007411, allocations: 88.12 kB / 0.9845 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.007438, allocations: 15.84 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.007474, allocations: 17.66 kB / 0.9845 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.007654, allocations: 314.8 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.007821, allocations: 35.95 kB / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.00796, allocations: 31.97 kB / 0.9849 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.008237, allocations: 68.72 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008239, allocations: 0 / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003253/0.008564, allocations: 97.62 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.008581, allocations: 7.938 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008586, allocations: 4 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.008605, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.008739, allocations: 15.97 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008744, allocations: 3.938 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.008827, allocations: 16.31 kB / 0.9851 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.008834, allocations: 0 / 0.9851 GB, free: 8.066 MB / 0.9356 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.179e-05/0.008926, allocations: 113.8 kB / 0.9852 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.00895, allocations: 3.953 kB / 0.9852 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.00898, allocations: 19.92 kB / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008982, allocations: 0 / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.008986, allocations: 0 / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.008991, allocations: 3.984 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.009135, allocations: 109.3 kB / 0.9853 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.009136, allocations: 3.938 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.009234, allocations: 15.98 kB / 0.9853 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009236, allocations: 4 kB / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.009243, allocations: 0 / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.009246, allocations: 3.938 kB / 0.9853 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009247, allocations: 0 / 0.9853 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.009638, allocations: 191.4 kB / 0.9855 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.009651, allocations: 11.98 kB / 0.9855 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.009665, allocations: 0 / 0.9855 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.009775, allocations: 19.92 kB / 0.9855 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.009828, allocations: 3.984 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.009836, allocations: 8 kB / 0.9855 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.009898, allocations: 83.28 kB / 0.9856 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009898, allocations: 0 / 0.9856 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002176/0.01012, allocations: 8 kB / 0.9856 GB, free: 7.418 MB / 0.9356 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.0001589/0.01027, allocations: 103.7 kB / 0.9857 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.01064, allocations: 71.92 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01064, allocations: 0 / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.0108, allocations: 35.95 kB / 0.9858 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.01114, allocations: 5.891 kB / 0.9858 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.01159, allocations: 130.1 kB / 0.986 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.873e-05/0.01168, allocations: 71.28 kB / 0.986 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.01171, allocations: 4 kB / 0.986 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01175, allocations: 8.5 kB / 0.986 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.01175, allocations: 0 / 0.986 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.003912/0.01566, allocations: 0.7255 MB / 0.9868 GB, free: 6.223 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.298593889921904]