Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.56/1.56, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.941/2.941, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9201, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00257/0.9228, allocations: 0.7787 MB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.924, allocations: 0.8701 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.9241, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.9241, allocations: 3.938 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.9242, allocations: 7.875 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.9245, allocations: 43.95 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.9246, allocations: 91.75 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.9248, allocations: 27.97 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.9249, allocations: 39.84 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.925, allocations: 47.81 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.9251, allocations: 15.94 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.9251, allocations: 8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.9251, allocations: 19.92 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.9252, allocations: 31.84 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.9253, allocations: 91.66 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.9254, allocations: 3.938 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9254, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.9254, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007998/0.9262, allocations: 393.1 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9262, allocations: 12.03 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.9263, allocations: 8.844 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.9265, allocations: 176.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.9265, allocations: 4.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.9266, allocations: 4.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.9269, allocations: 113.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.9269, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.9269, allocations: 8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.927, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.9273, allocations: 95.84 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.928, allocations: 348.6 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.9287, allocations: 122.5 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.9289, allocations: 64.86 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.9289, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.929, allocations: 30.56 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.929, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007632/0.9298, allocations: 185.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.9298, allocations: 55.41 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.93, allocations: 117.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.93, allocations: 25.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.9301, allocations: 96.12 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.9301, allocations: 23.59 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.9302, allocations: 21.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9303, allocations: 326.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.9305, allocations: 47.95 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.9308, allocations: 47.94 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.9311, allocations: 93.25 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9311, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004301/0.9316, allocations: 149.4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.9316, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9316, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.9316, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.9318, allocations: 23.97 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.9318, allocations: 7.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.9319, allocations: 19.92 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.932, allocations: 11.98 kB / 1.022 GB, free: 13.59 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001147/0.9321, allocations: 113.8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.9321, allocations: 7.906 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.9321, allocations: 8.375 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9322, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9322, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9322, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.9324, allocations: 201.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9324, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.9326, allocations: 27.91 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9326, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9326, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9326, allocations: 7.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9326, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.9332, allocations: 235.3 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.9332, allocations: 85 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.9332, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.9334, allocations: 11.98 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.9335, allocations: 23.97 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.9335, allocations: 3.938 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.9337, allocations: 103.2 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9337, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002379/0.9339, allocations: 15.94 kB / 1.023 GB, free: 12.65 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001742/0.9341, allocations: 103.2 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.9346, allocations: 103.9 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9346, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.9348, allocations: 67.89 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.9351, allocations: 13.7 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.9356, allocations: 172.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.936, allocations: 0.6924 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.9361, allocations: 11.98 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.9361, allocations: 19.44 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.9361, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.004843/0.941, allocations: 1.581 MB / 1.025 GB, free: 9.844 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches