Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001058/0.001059, allocations: 96.62 kB / 15.36 MB, free: 0.7305 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.00199/0.00199, allocations: 173.5 kB / 16.27 MB, free: 6.66 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.628/1.628, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.131/3.131, allocations: 470.6 MB / 0.7442 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0007689/0.0007682, allocations: 11.59 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4392, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008932/0.4401, allocations: 282.2 kB / 1.07 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.401e-05/0.4402, allocations: 8 kB / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.4402, allocations: 0 / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.4403, allocations: 0 / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.899e-05/0.4403, allocations: 3.938 kB / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-05/0.4403, allocations: 0 / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.4404, allocations: 7.938 kB / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.4405, allocations: 0 / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.4405, allocations: 0 / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.882e-05/0.4405, allocations: 0 / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.4405, allocations: 0 / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-06/0.4405, allocations: 0 / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.4406, allocations: 4 kB / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.4406, allocations: 33.69 kB / 1.07 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.263e-05/0.4407, allocations: 3.938 kB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4407, allocations: 4 kB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4407, allocations: 0 / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.4407, allocations: 0 / 1.07 GB, free: 11.05 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.00035/0.4411, allocations: 307.5 kB / 1.071 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.4411, allocations: 16.03 kB / 1.071 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.4412, allocations: 4.875 kB / 1.071 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4413, allocations: 164.4 kB / 1.071 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4413, allocations: 384 / 1.071 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.4414, allocations: 384 / 1.071 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.4415, allocations: 34.25 kB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.4415, allocations: 192 / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4415, allocations: 3.938 kB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4415, allocations: 0 / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.4415, allocations: 3.938 kB / 1.071 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.4419, allocations: 383.5 kB / 1.071 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4421, allocations: 177.1 kB / 1.071 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.4421, allocations: 80.14 kB / 1.071 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.4422, allocations: 79.22 kB / 1.071 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.94e-05/0.4422, allocations: 109.8 kB / 1.072 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4422, allocations: 0 / 1.072 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.783e-05/0.4423, allocations: 25.7 kB / 1.072 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.4424, allocations: 126.7 kB / 1.072 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.4425, allocations: 101.8 kB / 1.072 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4425, allocations: 25.7 kB / 1.072 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.4426, allocations: 80.17 kB / 1.072 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.4426, allocations: 4 kB / 1.072 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.4426, allocations: 13.84 kB / 1.072 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4428, allocations: 314.8 kB / 1.072 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-06/0.4428, allocations: 0 / 1.072 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-06/0.4428, allocations: 3.938 kB / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.4428, allocations: 75.28 kB / 1.072 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.934e-05/0.4429, allocations: 75.28 kB / 1.072 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.127e-05/0.4429, allocations: 33.64 kB / 1.072 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.443, allocations: 84 kB / 1.072 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.443, allocations: 79.28 kB / 1.073 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.926e-05/0.4431, allocations: 164.2 kB / 1.073 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.4431, allocations: 79.27 kB / 1.073 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.241e-05/0.4432, allocations: 154.5 kB / 1.073 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.4433, allocations: 75.28 kB / 1.073 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.4434, allocations: 79.28 kB / 1.073 GB, free: 7.922 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.0001555/0.4435, allocations: 264.3 kB / 1.073 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4436, allocations: 108.9 kB / 1.073 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.4437, allocations: 108.1 kB / 1.074 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/0.4437, allocations: 188.2 kB / 1.074 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.813e-05/0.4438, allocations: 180.3 kB / 1.074 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.79e-05/0.4439, allocations: 180.3 kB / 1.074 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.4442, allocations: 413.1 kB / 1.074 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/0.4443, allocations: 104.9 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.4443, allocations: 104.9 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/0.4444, allocations: 180.6 kB / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/0.4445, allocations: 184.2 kB / 1.075 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.588e-05/0.4446, allocations: 184.2 kB / 1.075 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.279e-05/0.4447, allocations: 184.3 kB / 1.075 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.4449, allocations: 307.6 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.445, allocations: 190 kB / 1.076 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.4451, allocations: 184.3 kB / 1.076 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.4452, allocations: 101 kB / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.4452, allocations: 180.2 kB / 1.076 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.4453, allocations: 101 kB / 1.076 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.4454, allocations: 83.27 kB / 1.076 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4454, allocations: 0 / 1.076 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002474/0.4456, allocations: 0 / 1.076 GB, free: 4.246 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.0001749/0.4458, allocations: 178.6 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.198e-05/0.4458, allocations: 7.938 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4459, allocations: 0 / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4459, allocations: 0 / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.4463, allocations: 0.5224 MB / 1.077 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.4466, allocations: 158 kB / 1.077 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4469, allocations: 0.6731 MB / 1.078 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.775e-06/0.4469, allocations: 0 / 1.078 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.4469, allocations: 7.438 kB / 1.078 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4469, allocations: 0 / 1.078 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.002463/0.4494, allocations: 162.4 kB / 1.078 GB, free: 2.477 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches