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.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.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.001595/0.001595, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001703/0.001703, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.18 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.524/2.524, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.77 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 151.6 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002593/0.3824, allocations: 0.7822 MB / 1.02 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3838, allocations: 0.8662 MB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.3838, allocations: 0 / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.3839, allocations: 7.922 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.384, allocations: 7.875 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3842, allocations: 39.95 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3843, allocations: 99.66 kB / 1.021 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3845, allocations: 19.98 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.3845, allocations: 39.91 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.3846, allocations: 47.81 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3847, allocations: 8 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.3847, allocations: 8 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.3847, allocations: 19.92 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.3848, allocations: 43.72 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3849, allocations: 87.72 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3849, allocations: 0 / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3849, allocations: 0 / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.385, allocations: 0 / 1.021 GB, free: 7.816 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006816/0.3856, allocations: 387.2 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3857, allocations: 12.92 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.3857, allocations: 20.78 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.3859, allocations: 172.2 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.386, allocations: 4.375 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.386, allocations: 16.3 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.3863, allocations: 101.7 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3863, allocations: 0 / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3864, allocations: 4 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3864, allocations: 3.938 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.3867, allocations: 99.91 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.3876, allocations: 340.6 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.3882, allocations: 122.6 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.3884, allocations: 56.81 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3885, allocations: 4 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.3887, allocations: 30.56 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3887, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006486/0.3893, allocations: 189.4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/0.3895, allocations: 51.41 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3897, allocations: 117.8 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3897, allocations: 25.7 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.3898, allocations: 100 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3898, allocations: 19.75 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.3899, allocations: 25.7 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.39, allocations: 318.8 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3902, allocations: 51.94 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.3904, allocations: 49.8 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.3907, allocations: 100.9 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3907, allocations: 3.938 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003988/0.3911, allocations: 137.5 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3912, allocations: 4 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3912, allocations: 4 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.3912, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3914, allocations: 23.97 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3914, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3915, allocations: 19.92 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3916, allocations: 11.98 kB / 1.023 GB, free: 5.02 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: 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.000194/0.3918, allocations: 117.8 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3918, allocations: 7.906 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.3918, allocations: 16.36 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3918, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3919, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3919, allocations: 3.938 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3922, allocations: 205.5 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3922, allocations: 0 / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3924, allocations: 23.97 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3924, allocations: 0 / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3924, allocations: 4 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3924, allocations: 7.984 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3924, allocations: 4 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.393, allocations: 227.3 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.393, allocations: 92.88 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3931, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3933, allocations: 19.98 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.3934, allocations: 23.97 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3934, allocations: 3.938 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.3934, allocations: 95.27 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3934, allocations: 0 / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002298/0.3937, allocations: 12 kB / 1.024 GB, free: 4.078 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: 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.00027/0.394, allocations: 99.25 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.3944, allocations: 107.9 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3944, allocations: 3.938 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3946, allocations: 63.89 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.395, allocations: 11.98 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.3955, allocations: 178.4 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3959, allocations: 0.6885 MB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.923e-05/0.3959, allocations: 12 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.396, allocations: 23.42 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.396, allocations: 0 / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of Templates: time 0.004806/0.4008, allocations: 1.574 MB / 1.027 GB, free: 1.266 MB / 0.795 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 -s gbode -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/jenkins1/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