Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001074/0.001075, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009637/0.0009638, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.776/2.776, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.804, allocations: 153.6 MB / 1.021 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0009876/0.805, allocations: 0.4894 MB / 1.021 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.806, allocations: 0.8429 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.806, allocations: 4 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.8061, allocations: 3.938 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.8062, allocations: 11.91 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.8063, allocations: 31.95 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.319e-05/0.8064, allocations: 43.95 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.8065, allocations: 23.97 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.8066, allocations: 35.84 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.8067, allocations: 39.83 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.8067, allocations: 7.984 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.8068, allocations: 4 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.8068, allocations: 11.98 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.8068, allocations: 33.64 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.8069, allocations: 63.78 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.8069, allocations: 3.938 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8069, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.807, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 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.0005926/0.8076, allocations: 393.2 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8076, allocations: 11.98 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.8076, allocations: 7.906 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.8078, allocations: 178.9 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.8078, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8078, allocations: 7.938 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.8082, allocations: 121.6 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.8082, allocations: 3.984 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.8082, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.8082, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.8086, allocations: 115.9 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.8092, allocations: 356.5 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.8098, allocations: 126.6 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.8098, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8098, allocations: 30.56 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.8098, allocations: 0 / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007047/0.8106, allocations: 217.4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.8106, allocations: 55.41 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.8107, allocations: 117.8 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.8107, allocations: 25.7 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.8108, allocations: 96.12 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.8108, allocations: 19.66 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.8109, allocations: 4 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.811, allocations: 322.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.8112, allocations: 59.95 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.8114, allocations: 56.11 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.8116, allocations: 63.94 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8116, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004175/0.812, allocations: 157.5 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.812, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.8121, allocations: 4 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8121, allocations: 3.984 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8123, allocations: 31.97 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8123, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.8124, allocations: 19.98 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.8124, allocations: 4 kB / 1.025 GB, free: 12.79 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.8125, allocations: 121.8 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.8125, allocations: 3.906 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.8126, allocations: 24.3 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8126, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8126, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8126, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.8128, allocations: 201.6 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8128, allocations: 3.938 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.813, allocations: 31.97 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.813, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.813, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.813, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.813, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.8135, allocations: 259.8 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.8135, allocations: 85.02 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.8136, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.8137, allocations: 19.98 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.8138, allocations: 23.97 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.8138, allocations: 3.984 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.8139, allocations: 99.2 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8139, allocations: 3.938 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002293/0.8141, allocations: 15.94 kB / 1.026 GB, free: 11.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.8143, allocations: 99.25 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.8147, allocations: 123.9 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8147, allocations: 0 / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.8149, allocations: 80.11 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.8152, allocations: 6.656 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.8156, allocations: 197.4 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.8158, allocations: 0.6887 MB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.151e-05/0.8159, allocations: 16.17 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.816, allocations: 15.44 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.816, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.003544/0.8195, allocations: 1.302 MB / 1.028 GB, free: 9.246 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches