Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00139/0.00139, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001458/0.001458, allocations: 191 kB / 16.25 MB, free: 6.152 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 469.8 MB / 0.742 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 73.05 kB / 0.9081 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3249, allocations: 159.1 MB / 1.063 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002123/0.327, allocations: 0.765 MB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3281, allocations: 0.8058 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.3282, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.3282, allocations: 4 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.3283, allocations: 3.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.268e-05/0.3283, allocations: 7.984 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.3284, allocations: 47.86 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3286, allocations: 15.97 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.3286, allocations: 19.92 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.3287, allocations: 23.86 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3287, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.3287, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.3288, allocations: 11.98 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.3288, allocations: 15.94 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.489e-05/0.3289, allocations: 39.81 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3289, allocations: 0 / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3289, allocations: 4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3289, allocations: 3.984 kB / 1.065 GB, free: 12.77 MB / 0.8262 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.0006045/0.3295, allocations: 355.7 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3296, allocations: 12.03 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.3296, allocations: 4.844 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3298, allocations: 176.3 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3298, allocations: 4.375 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3298, allocations: 4.375 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3301, allocations: 70.2 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3301, allocations: 8.125 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3301, allocations: 3.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3301, allocations: 8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.3304, allocations: 59.92 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3308, allocations: 272.8 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.331, allocations: 54.48 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.3312, allocations: 48.91 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3312, allocations: 3.938 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3313, allocations: 30.56 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3313, allocations: 0 / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000527/0.3318, allocations: 129.6 kB / 1.066 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3318, allocations: 51.41 kB / 1.066 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.332, allocations: 109.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.332, allocations: 25.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.332, allocations: 88.14 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3321, allocations: 11.81 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3321, allocations: 13.72 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3322, allocations: 318.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3324, allocations: 31.91 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3325, allocations: 35.95 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3328, allocations: 64.8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.3328, allocations: 3.938 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002972/0.3331, allocations: 101.5 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3331, allocations: 5.406 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3331, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3332, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3333, allocations: 15.98 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3333, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.3334, allocations: 11.98 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3334, allocations: 3.938 kB / 1.067 GB, free: 10.44 MB / 0.8262 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 8.887e-05/0.3335, allocations: 113.8 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3335, allocations: 7.906 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.3335, allocations: 16.22 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3336, allocations: 0 / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3336, allocations: 0 / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3336, allocations: 3.984 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3338, allocations: 169.6 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3338, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.3339, allocations: 19.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3339, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3339, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3339, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3339, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.3343, allocations: 191.4 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.3343, allocations: 92.89 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3343, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3344, allocations: 23.91 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3345, allocations: 4 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3345, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.3346, allocations: 91.27 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3346, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002065/0.3348, allocations: 4 kB / 1.068 GB, free: 9.613 MB / 0.8262 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.0001688/0.335, allocations: 103.2 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.3353, allocations: 71.92 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3353, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3355, allocations: 39.89 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3358, allocations: 11.34 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3361, allocations: 137.5 kB / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3365, allocations: 0.6807 MB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.3365, allocations: 7.984 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3365, allocations: 7.438 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3365, allocations: 4 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.002956/0.3395, allocations: 0.5615 MB / 1.07 GB, free: 7.945 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches