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.001883/0.001884, allocations: 103.4 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.002018/0.002018, allocations: 202.3 kB / 16.26 MB, free: 6.625 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.648/1.648, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.844/2.844, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 0.8688 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.806, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00246/0.8085, allocations: 0.7705 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.8097, allocations: 0.804 MB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.8098, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.8098, allocations: 4 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.8099, allocations: 3.938 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.496e-05/0.81, allocations: 7.984 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.8101, allocations: 55.73 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.8103, allocations: 7.984 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.8103, allocations: 12 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.8104, allocations: 23.91 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.8104, allocations: 7.938 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.8105, allocations: 8 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.8105, allocations: 7.984 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.8105, allocations: 19.92 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.8106, allocations: 43.81 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8106, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8107, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8107, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 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.0006346/0.8113, allocations: 365.2 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8114, allocations: 12.03 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.8114, allocations: 4.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8116, allocations: 164.3 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.8116, allocations: 8.375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.8116, allocations: 384 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.8119, allocations: 66.16 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.8119, allocations: 192 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.8119, allocations: 11.94 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8119, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.8122, allocations: 63.92 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.8128, allocations: 261 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.813, allocations: 70.41 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.8132, allocations: 40.92 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.8132, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.8134, allocations: 34.55 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.8134, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005448/0.8139, allocations: 129.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.814, allocations: 55.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.8142, allocations: 109.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.8142, allocations: 25.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.8143, allocations: 92.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.8144, allocations: 11.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.8144, allocations: 17.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8146, allocations: 310.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.8147, allocations: 31.95 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.8149, allocations: 35.97 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.8151, allocations: 68.78 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8151, allocations: 3.938 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003069/0.8154, allocations: 97.86 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8155, allocations: 11.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8155, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8155, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.8156, allocations: 19.91 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.8157, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.8157, allocations: 15.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.8158, allocations: 0 / 1.021 GB, free: 14.57 MB / 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: 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.0001093/0.8159, allocations: 114.3 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8159, allocations: 7.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.8159, allocations: 11.91 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8159, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.816, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.816, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.8162, allocations: 173.6 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8162, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.8163, allocations: 15.98 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8163, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8163, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8163, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8163, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.8167, allocations: 203.2 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.8168, allocations: 81.11 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.8168, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.8169, allocations: 15.98 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.8169, allocations: 3.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8169, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.817, allocations: 91.58 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.817, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002085/0.8172, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 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.0001746/0.8174, allocations: 103.2 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.8178, allocations: 75.92 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8178, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.818, allocations: 35.91 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.8183, allocations: 11.92 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.8187, allocations: 137.5 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.8191, allocations: 0.6768 MB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.8192, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.8192, allocations: 11.38 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8192, allocations: 7.938 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.002976/0.8222, allocations: 0.5612 MB / 1.023 GB, free: 12.09 MB / 0.7794 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=400 -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/jenkins/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