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.008247/0.008247, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.002076/0.002076, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.37/2.37, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.931, allocations: 140.3 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00194/0.933, allocations: 0.5708 MB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.997e-05/0.933, allocations: 1.625 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.933, allocations: 0 / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.9331, allocations: 0 / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.861e-05/0.9331, allocations: 0 / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.321e-05/0.9332, allocations: 1.828 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.9332, allocations: 1.062 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.9333, allocations: 3.891 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.9333, allocations: 1.062 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.9333, allocations: 4.516 kB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.9334, allocations: 4.812 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.9334, allocations: 0 / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.9334, allocations: 9.031 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.9334, allocations: 3.984 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.602e-05/0.9335, allocations: 3.062 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.9335, allocations: 3.938 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9335, allocations: 1.156 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.9335, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 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.0002673/0.9338, allocations: 313 kB / 1.088 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.9339, allocations: 10.02 kB / 1.088 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.9339, allocations: 30.75 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.9339, allocations: 6.797 kB / 1.088 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.934, allocations: 161 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.934, allocations: 1.469 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.934, allocations: 1.984 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.508e-05/0.9341, allocations: 28.06 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.9341, allocations: 5 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.9342, allocations: 4 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.9342, allocations: 0 / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.482e-05/0.9342, allocations: 5 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.9344, allocations: 380 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.9345, allocations: 174 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.9345, allocations: 84.14 kB / 1.089 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.9345, allocations: 76.34 kB / 1.089 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.9345, allocations: 114.5 kB / 1.089 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.9346, allocations: 1.125 kB / 1.089 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.78e-05/0.9346, allocations: 27.62 kB / 1.089 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.9347, allocations: 127.4 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.9347, allocations: 98.16 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.9347, allocations: 26.83 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.9347, allocations: 80.14 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.9348, allocations: 0 / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.9348, allocations: 15.44 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.9348, allocations: 312.7 kB / 1.09 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.9348, allocations: 0 / 1.09 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.9349, allocations: 0.75 kB / 1.09 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.508e-05/0.9349, allocations: 76.53 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.9349, allocations: 83.97 kB / 1.09 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.64e-05/0.9349, allocations: 37.11 kB / 1.09 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.935, allocations: 79.59 kB / 1.09 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.935, allocations: 77.16 kB / 1.09 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.9351, allocations: 160 kB / 1.091 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-05/0.9351, allocations: 80.98 kB / 1.091 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-05/0.9352, allocations: 159.8 kB / 1.091 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.9353, allocations: 80.31 kB / 1.091 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.9353, allocations: 76.94 kB / 1.091 GB, free: 17.79 MB / 0.8731 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.0001094/0.9354, allocations: 262.2 kB / 1.091 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.9355, allocations: 107.8 kB / 1.091 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.9355, allocations: 106.3 kB / 1.091 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/0.9356, allocations: 185 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-05/0.9357, allocations: 186.5 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-05/0.9357, allocations: 178.4 kB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.936, allocations: 405 kB / 1.092 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/0.9361, allocations: 106.8 kB / 1.092 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.9361, allocations: 110.7 kB / 1.093 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.9362, allocations: 178.1 kB / 1.093 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.9363, allocations: 178.1 kB / 1.093 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.442e-05/0.9364, allocations: 185.7 kB / 1.093 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.907e-05/0.9364, allocations: 182 kB / 1.093 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.9366, allocations: 317.6 kB / 1.094 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.9367, allocations: 180.6 kB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.9368, allocations: 182.7 kB / 1.094 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.9369, allocations: 105.6 kB / 1.094 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.937, allocations: 186.2 kB / 1.094 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.937, allocations: 106.8 kB / 1.094 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.9371, allocations: 78.12 kB / 1.094 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9371, allocations: 0 / 1.094 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002635/0.9374, allocations: 0.9688 kB / 1.094 GB, free: 14.16 MB / 0.8731 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.0005131/0.9379, allocations: 0.8129 MB / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.586e-05/0.9379, allocations: 1.875 kB / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9379, allocations: 0 / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.938, allocations: 0 / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.9383, allocations: 458.9 kB / 1.096 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.9397, allocations: 1.52 MB / 1.097 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.94, allocations: 0.6712 MB / 1.098 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.446e-06/0.94, allocations: 0 / 1.098 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.9401, allocations: 7.953 kB / 1.098 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.9401, allocations: 0 / 1.098 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.9574, allocations: 0.921 MB / 1.099 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/8.494, allocations: 4.938 kB / 1.099 GB, free: 10.27 MB / 0.8731 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