Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 177.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 443.2 MB / 0.7181 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003213, allocations: 8.375 kB / 0.8801 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 155.2 MB / 1.032 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0008774/0.2434, allocations: 0.5002 MB / 1.032 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.2443, allocations: 0.8511 MB / 1.033 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.2444, allocations: 7.938 kB / 1.033 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2444, allocations: 3.938 kB / 1.033 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.2445, allocations: 7.938 kB / 1.033 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2446, allocations: 39.89 kB / 1.033 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.2447, allocations: 79.83 kB / 1.033 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2448, allocations: 23.98 kB / 1.033 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.2449, allocations: 31.84 kB / 1.033 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.245, allocations: 39.83 kB / 1.033 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.245, allocations: 4 kB / 1.033 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.245, allocations: 4 kB / 1.033 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.245, allocations: 19.91 kB / 1.033 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.2451, allocations: 49.56 kB / 1.033 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.238e-05/0.2452, allocations: 63.84 kB / 1.033 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2452, allocations: 3.938 kB / 1.033 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2452, allocations: 0 / 1.033 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2452, allocations: 4 kB / 1.033 GB, free: 3.02 MB / 0.7794 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.0005635/0.2458, allocations: 387.5 kB / 1.034 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2458, allocations: 8.031 kB / 1.034 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.2459, allocations: 8.844 kB / 1.034 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.246, allocations: 180.2 kB / 1.034 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.246, allocations: 16.38 kB / 1.034 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.246, allocations: 4.375 kB / 1.034 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.2464, allocations: 113.7 kB / 1.034 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2464, allocations: 0 / 1.034 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2464, allocations: 4 kB / 1.034 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2464, allocations: 8 kB / 1.034 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.2468, allocations: 115.9 kB / 1.034 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.2473, allocations: 344.6 kB / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.2479, allocations: 126.6 kB / 1.035 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.2481, allocations: 72.81 kB / 1.035 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2482, allocations: 7.922 kB / 1.035 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2482, allocations: 42.56 kB / 1.035 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2482, allocations: 0 / 1.035 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006808/0.2489, allocations: 217.5 kB / 1.035 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2489, allocations: 51.41 kB / 1.035 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.249, allocations: 125.8 kB / 1.035 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.249, allocations: 25.7 kB / 1.035 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.2491, allocations: 95.98 kB / 1.035 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2491, allocations: 23.69 kB / 1.035 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.2492, allocations: 21.66 kB / 1.035 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.2493, allocations: 318.8 kB / 1.036 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2494, allocations: 63.95 kB / 1.036 GB, free: 484 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2496, allocations: 63.83 kB / 1.036 GB, free: 420 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.25, allocations: 116.8 kB / 1.036 GB, free: 300 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.25, allocations: 0 / 1.036 GB, free: 300 kB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00043/0.2505, allocations: 154.1 kB / 1.036 GB, free: 140 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2505, allocations: 8 kB / 1.036 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.2505, allocations: 0 / 1.036 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2505, allocations: 0 / 1.036 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.2507, allocations: 27.97 kB / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2507, allocations: 8 kB / 1.036 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2508, allocations: 31.83 kB / 1.036 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2508, allocations: 7.984 kB / 1.036 GB, free: 56 kB / 0.7794 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 9.538e-05/0.2509, allocations: 115.4 kB / 1.036 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.251, allocations: 0 / 1.036 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.251, allocations: 12.38 kB / 1.036 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.251, allocations: 0 / 1.036 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.251, allocations: 4 kB / 1.036 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.251, allocations: 3.938 kB / 1.036 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2512, allocations: 209.4 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2512, allocations: 0 / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2514, allocations: 27.97 kB / 1.036 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2514, allocations: 0 / 1.036 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2514, allocations: 8 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2514, allocations: 0 / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2514, allocations: 4 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.2519, allocations: 255.3 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.252, allocations: 85 kB / 1.037 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.252, allocations: 0 / 1.037 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2521, allocations: 19.98 kB / 1.037 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.2522, allocations: 23.97 kB / 1.037 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2522, allocations: 11.94 kB / 1.037 GB, free: 15.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.2523, allocations: 103.6 kB / 1.037 GB, free: 15.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2523, allocations: 0 / 1.037 GB, free: 15.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002206/0.2525, allocations: 12 kB / 1.037 GB, free: 15.09 MB / 0.795 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.0001081/0.2526, allocations: 95.25 kB / 1.037 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.2531, allocations: 139.8 kB / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2531, allocations: 0 / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.2533, allocations: 67.95 kB / 1.037 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2536, allocations: 8 kB / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.254, allocations: 223 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2542, allocations: 0.6926 MB / 1.038 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.2543, allocations: 19.42 kB / 1.038 GB, free: 13.78 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2543, allocations: 3.938 kB / 1.038 GB, free: 13.78 MB / 0.795 GB Notification: Performance of Templates: time 0.00239/0.2567, allocations: 1.213 MB / 1.039 GB, free: 12.57 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches