Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001327, allocations: 107.4 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0035/1.034, allocations: 0.7107 MB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001402/1.036, allocations: 0.804 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/1.036, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/1.036, allocations: 3.938 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/1.036, allocations: 19.86 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.641e-05/1.036, allocations: 7.984 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/1.036, allocations: 43.91 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/1.036, allocations: 8 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/1.037, allocations: 23.86 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/1.037, allocations: 15.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/1.037, allocations: 4 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/1.037, allocations: 4 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/1.037, allocations: 11.92 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/1.037, allocations: 19.94 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/1.037, allocations: 47.84 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.037, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.983e-06/1.037, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.037, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 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.0006774/1.038, allocations: 363.2 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.038, allocations: 12.92 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/1.038, allocations: 8.844 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/1.038, allocations: 174.2 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.038, allocations: 384 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.038, allocations: 384 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/1.038, allocations: 74.16 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.039, allocations: 192 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/1.039, allocations: 3.938 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.039, allocations: 0 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/1.039, allocations: 67.92 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/1.039, allocations: 268.9 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/1.04, allocations: 54.42 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.04, allocations: 48.91 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/1.04, allocations: 0 / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/1.04, allocations: 34.56 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/1.04, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006895/1.041, allocations: 129.6 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.041, allocations: 51.41 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.041, allocations: 105.8 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/1.041, allocations: 37.64 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.041, allocations: 86.48 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/1.041, allocations: 11.84 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/1.041, allocations: 13.72 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.041, allocations: 322.8 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/1.041, allocations: 27.97 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/1.042, allocations: 31.95 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/1.042, allocations: 69.08 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.042, allocations: 7.875 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004108/1.042, allocations: 109.6 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.043, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.043, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.043, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.043, allocations: 23.92 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.043, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/1.043, allocations: 11.98 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/1.043, allocations: 3.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 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.978e-05/1.043, allocations: 117.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/1.043, allocations: 7.906 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/1.043, allocations: 3.906 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.043, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.043, allocations: 4 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.043, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/1.043, allocations: 165.6 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.043, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/1.043, allocations: 15.97 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.043, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/1.043, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.044, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.044, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/1.044, allocations: 199.4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/1.044, allocations: 85 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/1.044, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.044, allocations: 11.98 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/1.044, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/1.044, allocations: 12 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001566/1.045, allocations: 87.25 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.045, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003816/1.045, allocations: 12 kB / 1.172 GB, free: 14.98 MB / 0.9044 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.0001807/1.045, allocations: 99.25 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004288/1.046, allocations: 67.92 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.046, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/1.046, allocations: 39.89 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/1.046, allocations: 10.59 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/1.047, allocations: 151.2 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/1.047, allocations: 0.6885 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/1.047, allocations: 15.38 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/1.047, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.004104/1.052, allocations: 0.7317 MB / 1.174 GB, free: 13.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches