Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001246/0.001246, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.233/2.233, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4687, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001727/0.4704, allocations: 0.8437 MB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.4713, allocations: 0.8662 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.4713, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.4714, allocations: 3.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.4714, allocations: 11.92 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.4716, allocations: 31.98 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.4717, allocations: 83.78 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.4718, allocations: 27.91 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.4719, allocations: 35.84 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.4719, allocations: 47.81 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.472, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.472, allocations: 8 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.472, allocations: 15.92 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.4721, allocations: 39.78 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.4722, allocations: 79.72 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4722, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4722, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.4722, allocations: 0 / 1.019 GB, free: 0.7305 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005434/0.4727, allocations: 385.5 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4728, allocations: 16.03 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.4728, allocations: 34.75 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.4728, allocations: 12.83 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.473, allocations: 180.2 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.473, allocations: 4.375 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.473, allocations: 4.375 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.4733, allocations: 109.6 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.4733, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4733, allocations: 8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4733, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.4737, allocations: 99.88 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.4741, allocations: 360.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.4747, allocations: 114.6 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4749, allocations: 60.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4749, allocations: 8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4749, allocations: 38.5 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.955e-06/0.4749, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005616/0.4755, allocations: 177.4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4755, allocations: 59.41 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.4756, allocations: 125.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4756, allocations: 25.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.4757, allocations: 92.05 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.4757, allocations: 19.73 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.4758, allocations: 25.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.4759, allocations: 314.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.476, allocations: 51.94 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.4762, allocations: 43.95 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.4765, allocations: 104.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4765, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003506/0.4768, allocations: 133.5 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4769, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4769, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.4769, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.477, allocations: 23.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4771, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.4772, allocations: 19.92 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4772, allocations: 4.547 kB / 1.021 GB, free: 13.89 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,add1.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 7.846e-05/0.4773, allocations: 118.3 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4773, allocations: 7.906 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.4773, allocations: 12.36 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4773, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4773, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4773, allocations: 3.938 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4775, allocations: 197.6 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4775, allocations: 8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.4777, allocations: 23.97 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4777, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.4777, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4777, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4777, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.4781, allocations: 251.2 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.4782, allocations: 85.02 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4782, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4783, allocations: 23.91 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.4784, allocations: 19.92 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4784, allocations: 7.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.4785, allocations: 91.27 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4785, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002171/0.4787, allocations: 19.94 kB / 1.022 GB, free: 12.93 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 (add1.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.0006238/0.4793, allocations: 0.7709 MB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.4797, allocations: 99.84 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4797, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.4799, allocations: 63.94 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.4801, allocations: 17.81 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4819, allocations: 1.542 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.4821, allocations: 0.6926 MB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.721e-05/0.4822, allocations: 8 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.4823, allocations: 27.42 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.4823, allocations: 0 / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.657/3.14, allocations: 2.338 MB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/3.14, allocations: 201.4 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/5.971, allocations: 3.938 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches