Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001447/0.001447, allocations: 103.3 kB / 15.98 MB, free: 5.891 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.001485/0.001485, allocations: 187.4 kB / 16.9 MB, free: 5.746 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.941/2.941, allocations: 469.4 MB / 0.7423 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 76.28 kB / 0.9083 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3302, allocations: 159.1 MB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00193/0.3321, allocations: 0.6044 MB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 6.365e-05/0.3322, allocations: 11.98 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.3323, allocations: 3.828 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.3323, allocations: 0 / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.797e-05/0.3323, allocations: 4 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.251e-05/0.3324, allocations: 0 / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.3324, allocations: 3.938 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.3325, allocations: 3.984 kB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.3325, allocations: 4 kB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.56e-05/0.3325, allocations: 0 / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3325, allocations: 0 / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.3326, allocations: 0 / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.3326, allocations: 4 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.3326, allocations: 0 / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.375e-05/0.3326, allocations: 4 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3327, allocations: 3.938 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3327, allocations: 4 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3327, allocations: 0 / 1.064 GB, free: 14.29 MB / 0.8262 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.0002768/0.3329, allocations: 310 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.333, allocations: 12.06 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.333, allocations: 0.9375 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3331, allocations: 164.4 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.3332, allocations: 384 / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.3332, allocations: 384 / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.121e-05/0.3333, allocations: 34.27 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.3333, allocations: 192 / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3333, allocations: 3.938 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3333, allocations: 0 / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.3333, allocations: 7.922 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.3337, allocations: 379.5 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3338, allocations: 173.1 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.3338, allocations: 84.12 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.442e-05/0.3339, allocations: 79.22 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.334, allocations: 117.8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.334, allocations: 0 / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.064e-05/0.334, allocations: 25.7 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3341, allocations: 126.7 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.3342, allocations: 97.86 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3342, allocations: 25.7 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.3343, allocations: 80.14 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3343, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.3343, allocations: 17.83 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3344, allocations: 310.8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.3345, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.3345, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.3345, allocations: 83.22 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-05/0.3345, allocations: 79.28 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.701e-05/0.3346, allocations: 33.64 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.3346, allocations: 79.28 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.3347, allocations: 83.28 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.044e-05/0.3347, allocations: 156.1 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.661e-05/0.3348, allocations: 79.22 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-05/0.3348, allocations: 162.5 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.3349, allocations: 83.27 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.3349, allocations: 75.28 kB / 1.067 GB, free: 11.16 MB / 0.8262 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.0001051/0.335, allocations: 268.3 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.3351, allocations: 104.9 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.3352, allocations: 112.1 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/0.3352, allocations: 180.2 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.236e-05/0.3353, allocations: 176.3 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6e-05/0.3354, allocations: 184.3 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3356, allocations: 409.1 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.061e-05/0.3356, allocations: 105 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.3357, allocations: 104.9 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.791e-05/0.3358, allocations: 180.6 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.3358, allocations: 184.3 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.578e-05/0.3359, allocations: 184.2 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.223e-05/0.336, allocations: 180.3 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.3361, allocations: 311.6 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.3362, allocations: 186.1 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.3363, allocations: 184.2 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3364, allocations: 101 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3364, allocations: 180.2 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/0.3365, allocations: 105 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.3366, allocations: 87.2 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3366, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000257/0.3368, allocations: 4.094 kB / 1.071 GB, free: 7.48 MB / 0.8262 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.0001413/0.337, allocations: 174.5 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.143e-05/0.337, allocations: 3.938 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.337, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.337, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3374, allocations: 463.6 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.3377, allocations: 178.1 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.338, allocations: 0.6729 MB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.338, allocations: 7.438 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.338, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of Templates: time 0.001546/0.3395, allocations: 317.1 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches