Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001404, allocations: 99.23 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.001689/0.001689, 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.54/1.54, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8152, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.000973/0.8162, allocations: 493.2 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.8173, allocations: 0.8546 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.8174, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.8174, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.8175, allocations: 19.91 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.8177, allocations: 23.97 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.8178, allocations: 43.94 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.8179, allocations: 27.91 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.818, allocations: 23.92 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.821e-05/0.8181, allocations: 47.81 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.8182, allocations: 4 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.8182, allocations: 4 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.8182, allocations: 15.97 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.8182, allocations: 33.64 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.996e-05/0.8183, allocations: 59.8 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.8183, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8184, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8184, allocations: 0 / 1.022 GB, free: 15.4 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.0006329/0.819, allocations: 393.1 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8191, allocations: 11.98 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.8191, allocations: 7.906 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.8193, allocations: 178.8 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.8193, allocations: 4 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.8193, allocations: 8 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.8197, allocations: 120.8 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.8197, allocations: 0 / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.8197, allocations: 0 / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8197, allocations: 0 / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.8201, allocations: 119.9 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.8207, allocations: 352.5 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.8213, allocations: 134.6 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.8213, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.8214, allocations: 34.56 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8214, allocations: 3.938 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007067/0.8221, allocations: 217.6 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.8221, allocations: 55.41 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.8223, allocations: 117.8 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.8223, allocations: 29.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.8223, allocations: 88.12 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.8224, allocations: 23.66 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.8224, allocations: 3.938 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8225, allocations: 330.8 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.8227, allocations: 51.95 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.8229, allocations: 59.95 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.8231, allocations: 55.89 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.8231, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004202/0.8236, allocations: 161.4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.8236, allocations: 13.56 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8236, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.8236, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.8238, allocations: 27.97 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8238, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.8239, allocations: 19.97 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.824, allocations: 12 kB / 1.025 GB, free: 12.61 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 (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 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 9.257e-05/0.8241, allocations: 117.8 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.8241, allocations: 7.906 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.8241, allocations: 12.36 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8241, allocations: 3.938 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.8241, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8241, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.8244, allocations: 197.6 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8244, allocations: 0 / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.8245, allocations: 31.97 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.8246, allocations: 3.984 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.8246, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8246, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8246, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.8251, allocations: 259.9 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.8251, allocations: 89 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.8252, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.8253, allocations: 15.98 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.8254, allocations: 27.91 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.8254, allocations: 7.984 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.8255, allocations: 91.22 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8255, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002817/0.8258, allocations: 23.94 kB / 1.026 GB, free: 11.64 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 (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.0001242/0.8259, allocations: 99.23 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.8264, allocations: 132 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8264, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.8266, allocations: 79.88 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.8269, allocations: 8.766 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.8273, allocations: 189.3 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.8276, allocations: 0.6926 MB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.534e-05/0.8277, allocations: 20.11 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.8277, allocations: 11.44 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8278, allocations: 0 / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.003754/0.8315, allocations: 1.294 MB / 1.028 GB, free: 9.066 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches