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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_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_11_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.008598/0.008598, allocations: 102.8 kB / 15.74 MB, free: 6.031 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.002189/0.002189, allocations: 191 kB / 16.67 MB, free: 5.965 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.029/3.029, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 67.89 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4227, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001816/0.4246, allocations: 0.5517 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.596e-05/0.4247, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.4247, allocations: 4 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.4247, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.4248, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-05/0.4248, allocations: 4 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.4249, allocations: 7.875 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.4249, allocations: 4.062 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.584e-05/0.425, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.425, allocations: 4 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.425, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-06/0.425, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.425, allocations: 3.938 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.425, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.288e-05/0.4251, allocations: 7.938 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4251, allocations: 3.984 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4251, allocations: 4 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4251, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 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.0003867/0.4255, allocations: 315.5 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4256, allocations: 8.031 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.4256, allocations: 34.75 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.4256, allocations: 0.9375 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4258, allocations: 168.4 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4258, allocations: 4.375 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.4258, allocations: 4.359 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.426, allocations: 30.27 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.426, allocations: 7.875 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.426, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.426, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.426, allocations: 4 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.4264, allocations: 379.5 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4265, allocations: 173.1 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.4266, allocations: 84.08 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4266, allocations: 79.28 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.4267, allocations: 105.8 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4267, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.311e-05/0.4268, allocations: 31.56 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.4268, allocations: 130.7 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.427, allocations: 97.84 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.427, allocations: 25.7 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.427, allocations: 84.14 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.427, allocations: 0 / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.4271, allocations: 9.719 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4272, allocations: 311 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.4272, allocations: 7.938 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.4272, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.4273, allocations: 75.28 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/0.4273, allocations: 79.22 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.527e-05/0.4274, allocations: 25.7 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.4274, allocations: 91.2 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/0.4275, allocations: 75.28 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.395e-05/0.4275, allocations: 158.5 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.561e-05/0.4276, allocations: 79.28 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-05/0.4276, allocations: 158.5 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.4277, allocations: 79.22 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.4278, allocations: 75.28 kB / 1.224 GB, free: 10.54 MB / 0.9825 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.000149/0.4279, allocations: 268.3 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.428, allocations: 109 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.4281, allocations: 108.1 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/0.4281, allocations: 180.2 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-05/0.4282, allocations: 188.3 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.639e-05/0.4283, allocations: 180.2 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.4286, allocations: 409.2 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.829e-05/0.4287, allocations: 105.3 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.4287, allocations: 104.9 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.4289, allocations: 184.3 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.4289, allocations: 180.2 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.117e-05/0.429, allocations: 180.3 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.554e-05/0.4291, allocations: 180.3 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.4294, allocations: 311.7 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4295, allocations: 186 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.4296, allocations: 176.3 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.4297, allocations: 113 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.4298, allocations: 184.2 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.4298, allocations: 101 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.4299, allocations: 79.28 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002731/0.4302, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 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.0005744/0.4307, allocations: 0.8189 MB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.145e-05/0.4308, allocations: 0 / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4308, allocations: 0 / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.4308, allocations: 0 / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4312, allocations: 467.6 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4325, allocations: 1.524 MB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4328, allocations: 0.669 MB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.366e-06/0.4329, allocations: 3.938 kB / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.4329, allocations: 7.438 kB / 1.23 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.4329, allocations: 0 / 1.23 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.4545, allocations: 0.9238 MB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.645, allocations: 11.86 kB / 1.231 GB, free: 2.422 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/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