Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001282/0.001282, allocations: 190.9 kB / 16.25 MB, free: 6.148 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.783/2.783, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6731, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002192/0.6754, allocations: 0.6167 MB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.512e-05/0.6754, allocations: 11.92 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.6755, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.6755, allocations: 4 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.6756, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.375e-05/0.6756, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.6757, allocations: 7.938 kB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.6757, allocations: 3.984 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.6757, allocations: 0 / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.578e-05/0.6758, allocations: 0 / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.6758, allocations: 0 / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.6758, allocations: 0 / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.6758, allocations: 0 / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.6758, allocations: 8 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.612e-05/0.6759, allocations: 7.938 kB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6759, allocations: 0 / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6759, allocations: 0 / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6759, allocations: 0 / 1.017 GB, free: 2.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000275/0.6762, allocations: 315.5 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6762, allocations: 8.031 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.6763, allocations: 0.9375 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6764, allocations: 164.4 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6764, allocations: 4.312 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.6764, allocations: 4.375 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.543e-05/0.6765, allocations: 30.27 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.6765, allocations: 192 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.6765, allocations: 3.938 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6765, allocations: 4 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.6765, allocations: 3.984 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.6768, allocations: 375.6 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.6769, allocations: 177 kB / 1.018 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.677, allocations: 84.12 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.677, allocations: 79.22 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.677, allocations: 105.8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.677, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.536e-05/0.6771, allocations: 33.7 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.6772, allocations: 134.6 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.6772, allocations: 93.86 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.6773, allocations: 25.7 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.6773, allocations: 80.14 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.6773, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.6773, allocations: 13.7 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6774, allocations: 323 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.6774, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-06/0.6775, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.6775, allocations: 75.28 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/0.6775, allocations: 75.28 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.584e-05/0.6776, allocations: 33.64 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.6776, allocations: 79.28 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.6776, allocations: 79.22 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.056e-05/0.6777, allocations: 158.5 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.6777, allocations: 83.22 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.509e-05/0.6778, allocations: 158.6 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.6779, allocations: 75.28 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.6779, allocations: 83.22 kB / 1.02 GB, free: 14.95 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.678, allocations: 268.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.6781, allocations: 101 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.6782, allocations: 116 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/0.6782, allocations: 176.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/0.6783, allocations: 188.3 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.953e-05/0.6784, allocations: 180.2 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.6786, allocations: 405.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.6787, allocations: 108.9 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.6787, allocations: 101 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-05/0.6788, allocations: 184.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.6788, allocations: 176.3 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.096e-05/0.6789, allocations: 188.2 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.485e-05/0.679, allocations: 180.2 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.6791, allocations: 312.1 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.6792, allocations: 182.1 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.6793, allocations: 176.3 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.6794, allocations: 117 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.6794, allocations: 176.3 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.6795, allocations: 108.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.6795, allocations: 87.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6795, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002459/0.6798, allocations: 0 / 1.024 GB, free: 11.27 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: 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 (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.0001406/0.6799, allocations: 178.6 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.077e-05/0.68, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.68, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.68, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.6803, allocations: 455.6 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.6806, allocations: 172.2 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.6808, allocations: 0.6729 MB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.347e-06/0.6808, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.6808, allocations: 11.38 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6808, allocations: 0 / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.001898/0.6827, allocations: 163.7 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches