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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001133/0.001133, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001316/0.001316, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.006/3.006, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.000619, allocations: 12.72 kB / 0.9022 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4373, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009669/0.4383, allocations: 278.1 kB / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.379e-05/0.4384, allocations: 0 / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.4384, allocations: 0 / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.4384, allocations: 0 / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.4385, allocations: 7.938 kB / 1.058 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.803e-05/0.4385, allocations: 8 kB / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.4386, allocations: 0 / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.343e-05/0.4387, allocations: 0 / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.4387, allocations: 3.938 kB / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.199e-05/0.4387, allocations: 0 / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4388, allocations: 0 / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.117e-06/0.4388, allocations: 4 kB / 1.058 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.4388, allocations: 0 / 1.058 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.4388, allocations: 25.7 kB / 1.058 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.431e-05/0.4389, allocations: 0 / 1.058 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4389, allocations: 4 kB / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4389, allocations: 0 / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.439, allocations: 0 / 1.058 GB, free: 4.973 MB / 0.8106 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.0003961/0.4394, allocations: 319.3 kB / 1.059 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.4394, allocations: 8.031 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.4395, allocations: 3.938 kB / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.4396, allocations: 163 kB / 1.059 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4396, allocations: 0 / 1.059 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4397, allocations: 7.953 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.4398, allocations: 33.69 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4398, allocations: 0 / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.4398, allocations: 3.984 kB / 1.059 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4398, allocations: 0 / 1.059 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.4398, allocations: 4 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.4402, allocations: 379.5 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.4404, allocations: 177.1 kB / 1.059 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.4404, allocations: 80.14 kB / 1.059 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.4404, allocations: 75.28 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.4405, allocations: 109.8 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4405, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.909e-05/0.4406, allocations: 33.64 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.4407, allocations: 130.7 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.4408, allocations: 89.86 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4408, allocations: 29.7 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.4409, allocations: 88.12 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.4409, allocations: 0 / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-07/0.4409, allocations: 0 / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4411, allocations: 314.9 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-06/0.4411, allocations: 128 / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.4411, allocations: 4 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.4411, allocations: 79.23 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/0.4412, allocations: 75.28 kB / 1.06 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.833e-05/0.4413, allocations: 29.7 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.4413, allocations: 79.28 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.4414, allocations: 87.22 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.049e-05/0.4414, allocations: 154.5 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.4415, allocations: 87.2 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.54e-05/0.4416, allocations: 154.6 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4417, allocations: 75.28 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.4417, allocations: 83.22 kB / 1.061 GB, free: 1.848 MB / 0.8106 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.0001419/0.4419, allocations: 260.4 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.442, allocations: 108.9 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.442, allocations: 116 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.582e-05/0.4421, allocations: 180.3 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-05/0.4422, allocations: 180.2 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/0.4423, allocations: 176.3 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.4426, allocations: 401.2 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.537e-05/0.4427, allocations: 116.9 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.4427, allocations: 101 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.4428, allocations: 188.2 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.4429, allocations: 176.6 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.303e-05/0.443, allocations: 180.2 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.796e-05/0.4431, allocations: 184.2 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.4433, allocations: 307.8 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.4434, allocations: 190 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.4435, allocations: 176.3 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4436, allocations: 104.9 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.4437, allocations: 184.3 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.4437, allocations: 108.9 kB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.4438, allocations: 79.27 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4438, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004704/0.4443, allocations: 0 / 1.065 GB, free: 14.18 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 (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.0001586/0.4445, allocations: 174.6 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.811e-05/0.4445, allocations: 4 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4445, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.4445, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.4451, allocations: 0.5185 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.4454, allocations: 168.7 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.4456, allocations: 0.6731 MB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.398e-06/0.4457, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.4457, allocations: 7.438 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4457, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.002405/0.4481, allocations: 157.8 kB / 1.066 GB, free: 12.42 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/jenkins/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