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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001132/0.001133, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001198/0.001198, allocations: 192.7 kB / 17.29 MB, free: 5.48 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 61.69 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3123, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.003151/0.3156, allocations: 0.6961 MB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.3166, allocations: 0.8079 MB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3167, allocations: 4 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.3167, allocations: 7.938 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.111e-05/0.3168, allocations: 7.922 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.399e-05/0.3169, allocations: 7.984 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.317, allocations: 47.8 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3172, allocations: 15.97 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.3173, allocations: 15.98 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.3173, allocations: 19.86 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.3173, allocations: 4 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.3174, allocations: 8 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.3174, allocations: 8 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.3174, allocations: 15.92 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3175, allocations: 39.81 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3175, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3176, allocations: 4 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3176, allocations: 0 / 1.02 GB, free: 8.109 MB / 0.795 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.0006048/0.3182, allocations: 363.3 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3183, allocations: 12.92 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.3183, allocations: 0.9375 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.3185, allocations: 180.2 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3185, allocations: 4.375 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3185, allocations: 4.375 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.3188, allocations: 74.16 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3188, allocations: 4.172 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3188, allocations: 3.938 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3188, allocations: 8 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.3191, allocations: 55.94 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.3196, allocations: 261 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3198, allocations: 66.41 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.32, allocations: 44.92 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.32, allocations: 3.984 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.32, allocations: 30.56 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.32, allocations: 0 / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005142/0.3205, allocations: 137.6 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.3206, allocations: 51.41 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3207, allocations: 109.8 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3208, allocations: 25.7 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.3208, allocations: 88.12 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3209, allocations: 11.81 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3209, allocations: 17.72 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.321, allocations: 314.8 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3211, allocations: 35.89 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3213, allocations: 27.97 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.3216, allocations: 72.78 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3216, allocations: 3.938 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002821/0.3219, allocations: 97.56 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3219, allocations: 4 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3219, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3219, allocations: 8 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3221, allocations: 19.97 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3221, allocations: 0 / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.3221, allocations: 11.98 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3222, allocations: 0 / 1.023 GB, free: 5.773 MB / 0.795 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.563e-05/0.3222, allocations: 114.4 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3223, allocations: 3.906 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.3223, allocations: 15.91 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3223, allocations: 0 / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3223, allocations: 3.984 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3223, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3225, allocations: 169.6 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3225, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.3226, allocations: 11.98 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3226, allocations: 4 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3226, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3226, allocations: 3.938 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3227, allocations: 4 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.323, allocations: 199.3 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.323, allocations: 84.95 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3231, allocations: 8 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.3232, allocations: 11.98 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3232, allocations: 7.984 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3232, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.3233, allocations: 87.28 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3233, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002126/0.3235, allocations: 4 kB / 1.023 GB, free: 4.957 MB / 0.795 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.0001571/0.3237, allocations: 109.5 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.324, allocations: 75.86 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.324, allocations: 3.938 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3242, allocations: 31.97 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3245, allocations: 12.47 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.3249, allocations: 130 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3253, allocations: 0.6768 MB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.3254, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3254, allocations: 7.438 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3255, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of Templates: time 0.00348/0.3289, allocations: 0.6819 MB / 1.025 GB, free: 3.18 MB / 0.795 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 -s gbode -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