Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001343, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.587/2.587, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7509, allocations: 140.4 MB / 0.9497 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001997/0.7529, allocations: 0.5389 MB / 0.9503 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.705e-05/0.753, allocations: 7.922 kB / 0.9503 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.753, allocations: 1.219 kB / 0.9503 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.7531, allocations: 0 / 0.9503 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.7531, allocations: 4 kB / 0.9503 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.197e-05/0.7532, allocations: 1.562 kB / 0.9503 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.7533, allocations: 1.562 kB / 0.9503 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.342e-05/0.7533, allocations: 7.984 kB / 0.9503 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.7534, allocations: 5.281 kB / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.915e-05/0.7534, allocations: 0 / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.7534, allocations: 1.844 kB / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-06/0.7534, allocations: 0 / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.7535, allocations: 0 / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.7535, allocations: 0 / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.572e-05/0.7536, allocations: 1.719 kB / 0.9503 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7536, allocations: 4 kB / 0.9503 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7536, allocations: 0 / 0.9503 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7536, allocations: 0 / 0.9503 GB, free: 8.93 MB / 0.7169 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.000308/0.7539, allocations: 315.6 kB / 0.9506 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.754, allocations: 9.656 kB / 0.9506 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.754, allocations: 30.75 kB / 0.9506 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.7541, allocations: 9.844 kB / 0.9507 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.7542, allocations: 164.3 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.7542, allocations: 1.469 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.7542, allocations: 8.359 kB / 0.9508 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.7544, allocations: 28.17 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7544, allocations: 7.922 kB / 0.9509 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.7544, allocations: 1.312 kB / 0.9509 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7544, allocations: 0 / 0.9509 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.7544, allocations: 1.375 kB / 0.9509 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.7548, allocations: 378.5 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.7548, allocations: 178.6 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.7549, allocations: 84.14 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.7549, allocations: 77.06 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.7549, allocations: 109.8 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.755, allocations: 0 / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.997e-05/0.7551, allocations: 34.42 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.7551, allocations: 128.5 kB / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.7552, allocations: 96.39 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.7552, allocations: 25.7 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.7553, allocations: 89.34 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/0.7553, allocations: 0 / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.7553, allocations: 11.09 kB / 0.952 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.7554, allocations: 315 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-06/0.7554, allocations: 1.375 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.7554, allocations: 0 / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.7554, allocations: 75.28 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.7554, allocations: 80.81 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.842e-05/0.7555, allocations: 27.61 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.7556, allocations: 83.72 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.7556, allocations: 77.19 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/0.7556, allocations: 158.6 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.7557, allocations: 88.92 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/0.7557, allocations: 150.6 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.7558, allocations: 80.78 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.7558, allocations: 76.97 kB / 0.9532 GB, free: 5.793 MB / 0.7169 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 8.688e-05/0.7559, allocations: 264.3 kB / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.756, allocations: 110.6 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.756, allocations: 117.2 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/0.756, allocations: 177.3 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.485e-05/0.7561, allocations: 182.8 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/0.7561, allocations: 176.3 kB / 0.9542 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.7563, allocations: 411.4 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/0.7564, allocations: 106.4 kB / 0.9547 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.7564, allocations: 101 kB / 0.9548 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.782e-05/0.7564, allocations: 181.5 kB / 0.9549 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.7565, allocations: 181.6 kB / 0.9551 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.004e-05/0.7565, allocations: 177.3 kB / 0.9553 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.408e-05/0.7566, allocations: 189.2 kB / 0.9554 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.908e-05/0.7567, allocations: 307.4 kB / 0.9557 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.7567, allocations: 183.9 kB / 0.9559 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.7568, allocations: 181.6 kB / 0.9561 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.7569, allocations: 108.9 kB / 0.9562 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.7569, allocations: 177.5 kB / 0.9564 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.757, allocations: 110.1 kB / 0.9565 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.757, allocations: 81.77 kB / 0.9565 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.757, allocations: 0 / 0.9565 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004348/0.7574, allocations: 0 / 0.9565 GB, free: 2.145 MB / 0.7169 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.0003759/0.7578, allocations: 0.8065 MB / 0.9573 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.457e-05/0.7579, allocations: 9.109 kB / 0.9573 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7579, allocations: 3.938 kB / 0.9573 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.7579, allocations: 0 / 0.9573 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.7583, allocations: 463.2 kB / 0.9578 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.7596, allocations: 1.523 MB / 0.9593 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.7601, allocations: 0.6779 MB / 0.9599 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.777e-06/0.7601, allocations: 0 / 0.9599 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.7601, allocations: 7.438 kB / 0.9599 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.7601, allocations: 0 / 0.9599 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.7828, allocations: 0.8989 MB / 0.9608 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.444, allocations: 14.31 kB / 0.9608 GB, free: 14.03 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches