Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.9 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008664/0.0008663, allocations: 82.5 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.747e-05, allocations: 11.97 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 106.3 MB / 0.8918 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7583/0.9767, allocations: 130.8 MB / 1.02 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.9769, allocations: 74.95 kB / 1.02 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005586/0.9775, allocations: 367.9 kB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9775, allocations: 4 kB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.9775, allocations: 0 / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002683/0.9778, allocations: 310.9 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.9779, allocations: 11.97 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.9779, allocations: 0 / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.9781, allocations: 163 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.9781, allocations: 3 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.9781, allocations: 4 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.9782, allocations: 36.42 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.9782, allocations: 0 / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.9782, allocations: 0 / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9782, allocations: 0 / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.9783, allocations: 4 kB / 1.02 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.9786, allocations: 387.2 kB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.9787, allocations: 169.1 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.9788, allocations: 83.95 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.9788, allocations: 79.27 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.9789, allocations: 105.8 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9789, allocations: 0 / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.2e-05/0.979, allocations: 36.23 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.979, allocations: 130.7 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.9792, allocations: 85 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.9792, allocations: 29.7 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.9792, allocations: 84.08 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.9792, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.9792, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9794, allocations: 318.8 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.9794, allocations: 0 / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.9794, allocations: 4.125 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.9794, allocations: 75.28 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/0.9795, allocations: 75.28 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.382e-05/0.9795, allocations: 37.58 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.9796, allocations: 81 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.9797, allocations: 79.28 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.424e-05/0.9797, allocations: 150.6 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.9798, allocations: 84.03 kB / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.14e-05/0.9798, allocations: 157.9 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.9799, allocations: 83.22 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.98, allocations: 75.28 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001257/0.9801, allocations: 255.5 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.9802, allocations: 101 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.9803, allocations: 119.4 kB / 1.023 GB, free: 16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.212e-05/0.9803, allocations: 180.6 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.849e-05/0.9804, allocations: 186.7 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/0.9805, allocations: 180.2 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.9808, allocations: 412.9 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/0.9809, allocations: 105 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.9809, allocations: 101 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-05/0.981, allocations: 184.2 kB / 1.024 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.9811, allocations: 176.3 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/0.9812, allocations: 180.2 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-05/0.9812, allocations: 183.4 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.9814, allocations: 312.6 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.9815, allocations: 178.1 kB / 1.025 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.9816, allocations: 188.2 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.9817, allocations: 101 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.9818, allocations: 180.3 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.9819, allocations: 108.9 kB / 1.026 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.9819, allocations: 78.34 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9819, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002592/0.9822, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000162/0.9823, allocations: 178.5 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.303e-05/0.9824, allocations: 8.578 kB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9824, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.9824, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.9828, allocations: 0.5262 MB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.983, allocations: 124.7 kB / 1.027 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.9833, allocations: 0.6809 MB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.007e-05/0.9833, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.9833, allocations: 7.438 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/0.9833, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.002015/0.9853, allocations: 171.3 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches