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.001164/0.001164, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008699/0.0008699, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9222/0.9222, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.784/1.784, allocations: 377.8 MB / 0.6228 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.945e-06/2.945e-06, allocations: 0 / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.301e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001468/0.001501, allocations: 0.7018 MB / 0.9829 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.002319, allocations: 0.8314 MB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.002359, allocations: 0 / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.002388, allocations: 0 / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.00245, allocations: 11.88 kB / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.409e-05/0.002514, allocations: 19.97 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/0.002589, allocations: 35.92 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.002691, allocations: 8 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.002769, allocations: 27.91 kB / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.002806, allocations: 15.97 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.002827, allocations: 4 kB / 0.9839 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.002833, allocations: 4 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.002849, allocations: 11.92 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.002871, allocations: 8 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.002961, allocations: 47.8 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.002964, allocations: 4 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002965, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.002969, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 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.000387/0.003356, allocations: 294.1 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.003393, allocations: 12.03 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.003421, allocations: 4.891 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.003499, allocations: 109.8 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.00351, allocations: 384 / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.003519, allocations: 4.375 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.003685, allocations: 70.22 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003692, allocations: 192 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.003702, allocations: 384 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.003708, allocations: 4.375 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.00385, allocations: 67.8 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.004135, allocations: 216.6 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.004255, allocations: 54.53 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.004333, allocations: 36.92 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.004345, allocations: 4 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.004363, allocations: 34.56 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.004364, allocations: 3.938 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003014/0.004666, allocations: 133.7 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.004694, allocations: 51.41 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.004757, allocations: 109.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.004767, allocations: 25.7 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.0048, allocations: 84.14 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.004824, allocations: 19.83 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.004851, allocations: 13.72 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.004927, allocations: 318.8 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.005001, allocations: 31.91 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.005071, allocations: 39.94 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.00521, allocations: 68.72 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005212, allocations: 4 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001635/0.005375, allocations: 93.62 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.005389, allocations: 7.938 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005395, allocations: 4.312 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.005406, allocations: 0 / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.005487, allocations: 11.98 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.005492, allocations: 4 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.00553, allocations: 15.97 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.005536, allocations: 3.984 kB / 0.9858 GB, free: 14.19 MB / 0.948 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.858e-05/0.005595, allocations: 113.8 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.005608, allocations: 3.953 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.005628, allocations: 15.94 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.00563, allocations: 3.938 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005634, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005636, allocations: 3.938 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.005734, allocations: 113.3 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005734, allocations: 0 / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.005776, allocations: 19.97 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005778, allocations: 4 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.005784, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.005786, allocations: 3.938 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.005788, allocations: 0 / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.005993, allocations: 199.4 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.006, allocations: 0 / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.00601, allocations: 3.984 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.006061, allocations: 15.92 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.006098, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-06/0.006101, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.00614, allocations: 91.2 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006141, allocations: 0 / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001531/0.006294, allocations: 8 kB / 0.9864 GB, free: 13.54 MB / 0.948 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 9.984e-05/0.006393, allocations: 95.78 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.006578, allocations: 71.92 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00658, allocations: 3.938 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.006651, allocations: 35.95 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.00689, allocations: 8 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.007189, allocations: 157.1 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.007237, allocations: 67.33 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.00727, allocations: 8.5 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.00727, allocations: 0 / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of Templates: time 0.001605/0.008875, allocations: 0.7719 MB / 0.9876 GB, free: 12.27 MB / 0.948 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: 6.673123890534043]