Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 176.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009453/0.0009453, allocations: 91.33 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 12.59 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.4868, allocations: 130.8 MB / 1.028 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4872, allocations: 67.95 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006646/0.4879, allocations: 376.7 kB / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.437e-06/0.4879, allocations: 0 / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4879, allocations: 64 / 1.028 GB, free: 12.47 MB / 0.6823 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.0003595/0.4883, allocations: 319.4 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4883, allocations: 8.094 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.4884, allocations: 3.906 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4885, allocations: 174.9 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4885, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4886, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.4887, allocations: 25.7 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4887, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4887, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4887, allocations: 4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.4888, allocations: 7.984 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.4891, allocations: 391.4 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.4893, allocations: 169.1 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.4893, allocations: 75.28 kB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.4894, allocations: 109.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4894, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.4895, allocations: 37.62 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.4895, allocations: 126.7 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.4896, allocations: 85 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4896, allocations: 29.7 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.4897, allocations: 84.14 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.4897, allocations: 4.125 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.4897, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4898, allocations: 315.5 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.4898, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-06/0.4899, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.4899, allocations: 75.28 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-05/0.4899, allocations: 75.28 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.706e-05/0.49, allocations: 37.62 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.4901, allocations: 83.28 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.4901, allocations: 79.28 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.036e-05/0.4902, allocations: 152.2 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.486e-05/0.4902, allocations: 79.22 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.459e-05/0.4903, allocations: 154.6 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.4903, allocations: 79.22 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.4904, allocations: 79.28 kB / 1.031 GB, free: 9.449 MB / 0.6823 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 () * Number of clocked 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.0001432/0.4905, allocations: 268.3 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.4906, allocations: 104.9 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.4907, allocations: 112.1 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-05/0.4908, allocations: 184.2 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/0.4909, allocations: 180.2 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/0.4909, allocations: 184.2 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4912, allocations: 405.1 kB / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-05/0.4913, allocations: 109 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.4913, allocations: 105 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.362e-05/0.4914, allocations: 188.1 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.4915, allocations: 180.3 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.569e-05/0.4916, allocations: 181 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.843e-05/0.4916, allocations: 176.3 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4918, allocations: 311.7 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.4919, allocations: 182.1 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.492, allocations: 184.2 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4921, allocations: 105.4 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.4922, allocations: 184.3 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.4922, allocations: 108.9 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.4923, allocations: 75.28 kB / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4923, allocations: 96 / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002966/0.4926, allocations: 4 kB / 1.034 GB, free: 5.77 MB / 0.6823 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 () * Number of clocked 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.0001597/0.4928, allocations: 174.5 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.189e-05/0.4928, allocations: 4.047 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4928, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.4928, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4932, allocations: 0.534 MB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.4934, allocations: 150 kB / 1.035 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.4937, allocations: 0.6731 MB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.107e-06/0.4937, allocations: 3.938 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.4937, allocations: 7.438 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/0.4937, allocations: 0 / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.001676/0.4954, allocations: 157.6 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches