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.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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_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.008593/0.008593, allocations: 101 kB / 15.87 MB, free: 6.328 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.002089/0.00209, allocations: 193.5 kB / 16.79 MB, free: 6.254 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 68.66 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002337/0.3428, allocations: 0.7534 MB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3439, allocations: 0.8079 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.344, allocations: 3.938 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.3441, allocations: 7.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.3442, allocations: 3.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.914e-05/0.3442, allocations: 7.984 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.3443, allocations: 39.92 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3445, allocations: 15.97 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.3445, allocations: 11.94 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.3446, allocations: 23.91 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3446, allocations: 4 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.3446, allocations: 4 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3447, allocations: 4 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.3447, allocations: 19.86 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.3448, allocations: 27.94 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3448, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3448, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.3448, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 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.0005641/0.3454, allocations: 367.6 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3454, allocations: 15.91 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3455, allocations: 4.938 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3456, allocations: 172.2 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3456, allocations: 384 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3457, allocations: 8.359 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.3459, allocations: 66.22 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.346, allocations: 192 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.346, allocations: 3.938 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.346, allocations: 8 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.3463, allocations: 59.92 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.3467, allocations: 272.9 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3469, allocations: 62.48 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3471, allocations: 40.91 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3471, allocations: 0 / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3471, allocations: 34.56 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3471, allocations: 0 / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005632/0.3477, allocations: 137.4 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3478, allocations: 51.41 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.3479, allocations: 117.8 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3479, allocations: 25.7 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.348, allocations: 88.08 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.348, allocations: 15.81 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.348, allocations: 13.72 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3482, allocations: 318.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3483, allocations: 27.97 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3485, allocations: 35.95 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3487, allocations: 68.78 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.3488, allocations: 3.938 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.3491, allocations: 97.56 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3491, allocations: 8 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3491, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3491, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3493, allocations: 11.98 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3493, allocations: 0 / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.3494, allocations: 11.98 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3494, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 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.0001051/0.3495, allocations: 121.8 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3495, allocations: 7.906 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.3496, allocations: 7.906 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3496, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3496, allocations: 336 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3496, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3498, allocations: 169.6 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3498, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.3499, allocations: 23.91 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3499, allocations: 3.984 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3499, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3499, allocations: 4 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3499, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.3503, allocations: 191.4 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.3503, allocations: 92.94 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3504, allocations: 0 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3505, allocations: 11.98 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3505, allocations: 8 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3505, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.3506, allocations: 91.56 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3506, allocations: 3.938 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002161/0.3508, allocations: 8 kB / 1.057 GB, free: 3.395 MB / 0.8106 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.0001737/0.351, allocations: 99.25 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.3514, allocations: 75.86 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3514, allocations: 3.938 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3515, allocations: 35.95 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3518, allocations: 7.938 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.3522, allocations: 164.8 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3525, allocations: 0.6809 MB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3526, allocations: 11.44 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.3526, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of Templates: time 0.002297/0.3549, allocations: 0.7316 MB / 1.059 GB, free: 1.527 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches