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.001471/0.001471, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001456/0.001456, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 4.512 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.742/2.742, allocations: 469.8 MB / 0.7427 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 70.16 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2678, allocations: 159.1 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001929/0.2697, allocations: 0.7816 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.2707, allocations: 0.8019 MB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.2707, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.2708, allocations: 3.984 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.2708, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.726e-05/0.2709, allocations: 12 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.271, allocations: 51.78 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.2711, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.2711, allocations: 19.97 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.2712, allocations: 27.84 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2712, allocations: 4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.2712, allocations: 4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.2712, allocations: 4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.2713, allocations: 15.92 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.001e-05/0.2713, allocations: 27.95 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2714, allocations: 11.94 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2714, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.2714, allocations: 0 / 1.066 GB, free: 12.83 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.0005155/0.2719, allocations: 359.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2719, allocations: 8.031 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.272, allocations: 8.844 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2721, allocations: 164.3 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2721, allocations: 4.375 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2721, allocations: 4.375 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.2724, allocations: 74.14 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2724, allocations: 192 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.2724, allocations: 3.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2724, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.2727, allocations: 63.92 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2731, allocations: 268.9 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.2733, allocations: 66.41 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2735, allocations: 44.91 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2735, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2735, allocations: 34.56 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.2735, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004998/0.274, allocations: 129.5 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2741, allocations: 55.41 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.2742, allocations: 109.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2742, allocations: 25.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.2742, allocations: 92.12 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2743, allocations: 7.812 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.2743, allocations: 17.72 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2744, allocations: 318.8 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2746, allocations: 27.97 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.2747, allocations: 32.16 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.275, allocations: 76.86 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.275, allocations: 3.938 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002956/0.2753, allocations: 93.62 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2753, allocations: 8.938 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2753, allocations: 3.938 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2754, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2755, allocations: 19.91 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2755, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.2756, allocations: 11.98 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2756, allocations: 0 / 1.068 GB, free: 10.5 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.851e-05/0.2757, allocations: 117.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.2757, allocations: 3.906 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.2757, allocations: 15.89 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2757, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2758, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2758, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2759, allocations: 165.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.276, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.2761, allocations: 19.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2761, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.2761, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2761, allocations: 3.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2761, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.2764, allocations: 195.4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.2765, allocations: 88.95 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2765, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2766, allocations: 15.98 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.2767, allocations: 3.984 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2767, allocations: 0 / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.2767, allocations: 99.56 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2767, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002044/0.2769, allocations: 4 kB / 1.069 GB, free: 9.684 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.0001371/0.2771, allocations: 103.2 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.2774, allocations: 75.86 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2774, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2776, allocations: 31.97 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2778, allocations: 17.47 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.2782, allocations: 164.4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.2785, allocations: 0.6768 MB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.2785, allocations: 11.44 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of SimCode: time 3.396e-06/0.2785, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.002051/0.2806, allocations: 0.7361 MB / 1.07 GB, free: 7.816 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/jenkins1/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