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.006859/0.00686, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001302/0.001302, allocations: 187 kB / 16.67 MB, free: 5.883 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.495/2.495, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.41 kB / 0.9504 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3063, allocations: 140.4 MB / 1.087 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0022/0.3085, allocations: 0.5444 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 5.109e-05/0.3086, allocations: 4 kB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.3087, allocations: 4 kB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.3087, allocations: 3.938 kB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.3088, allocations: 0 / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-05/0.3088, allocations: 7.938 kB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.3089, allocations: 0 / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.3089, allocations: 7.938 kB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.309, allocations: 0 / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.926e-05/0.309, allocations: 0 / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.309, allocations: 0 / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-06/0.309, allocations: 0 / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.309, allocations: 0 / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.3091, allocations: 4 kB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.691e-05/0.3091, allocations: 15.92 kB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3091, allocations: 0 / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3092, allocations: 0 / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3092, allocations: 0 / 1.088 GB, free: 1.512 MB / 0.8419 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.0003407/0.3095, allocations: 311.6 kB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3096, allocations: 12.02 kB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3096, allocations: 30.75 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.3096, allocations: 0.9375 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3098, allocations: 164.4 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3098, allocations: 8.375 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.3098, allocations: 384 / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.3099, allocations: 30.27 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3099, allocations: 3.938 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.31, allocations: 0 / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.31, allocations: 7.938 kB / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.31, allocations: 4 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.3104, allocations: 383.5 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.3105, allocations: 169.1 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.3105, allocations: 80.14 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3106, allocations: 79.22 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/0.3107, allocations: 105.8 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.3107, allocations: 4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.439e-05/0.3108, allocations: 34.06 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3108, allocations: 126.7 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.311, allocations: 97.86 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.311, allocations: 25.7 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.311, allocations: 80.14 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.311, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.311, allocations: 13.84 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3112, allocations: 314.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.3112, allocations: 4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.3112, allocations: 7.922 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.3112, allocations: 83.22 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.3113, allocations: 83.16 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.362e-05/0.3113, allocations: 25.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.3114, allocations: 83.28 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.3114, allocations: 79.28 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.873e-05/0.3115, allocations: 154.5 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.923e-05/0.3116, allocations: 75.28 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/0.3116, allocations: 158.5 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.3117, allocations: 80.69 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3117, allocations: 75.28 kB / 1.091 GB, free: 14.34 MB / 0.8575 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.0001239/0.3119, allocations: 276.3 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.3119, allocations: 104.9 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.312, allocations: 104.1 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/0.312, allocations: 184.2 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-05/0.3121, allocations: 184.2 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/0.3122, allocations: 188.2 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.3124, allocations: 397.2 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.3124, allocations: 109 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.3125, allocations: 104.9 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.968e-05/0.3125, allocations: 184.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.3126, allocations: 180.2 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.652e-05/0.3127, allocations: 184.6 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-05/0.3127, allocations: 180.2 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3129, allocations: 311.7 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.313, allocations: 182 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.3131, allocations: 184.2 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.3131, allocations: 105 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.3132, allocations: 184.2 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3132, allocations: 101 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.3133, allocations: 83.28 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3133, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002544/0.3136, allocations: 96 / 1.094 GB, free: 10.66 MB / 0.8575 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.0004122/0.314, allocations: 0.8126 MB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.499e-05/0.314, allocations: 0 / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.314, allocations: 0 / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.3141, allocations: 8 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.3146, allocations: 455.6 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3157, allocations: 1.528 MB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3159, allocations: 0.6767 MB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.095e-06/0.3159, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.316, allocations: 7.531 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.316, allocations: 4 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.334, allocations: 0.9151 MB / 1.099 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.046, allocations: 9.781 kB / 1.099 GB, free: 6.223 MB / 0.8575 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