Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01283/0.01283, allocations: 103.1 kB / 15.74 MB, free: 6.066 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.003239/0.003239, allocations: 192.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.899/2.899, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.119/5.119, allocations: 437.1 MB / 0.7105 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002845, allocations: 71.89 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518/1.521, allocations: 151.6 MB / 1.166 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.004483/1.526, allocations: 0.5552 MB / 1.167 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 7.774e-05/1.526, allocations: 3.938 kB / 1.167 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/1.526, allocations: 4 kB / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/1.526, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/1.526, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.539e-05/1.526, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/1.526, allocations: 4 kB / 1.167 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/1.527, allocations: 6.016 kB / 1.167 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.979e-05/1.527, allocations: 7.938 kB / 1.167 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/1.527, allocations: 0 / 1.167 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/1.527, allocations: 0 / 1.167 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/1.527, allocations: 4 kB / 1.167 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/1.527, allocations: 0 / 1.167 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/1.527, allocations: 4 kB / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/1.527, allocations: 3.984 kB / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.527, allocations: 0 / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.897e-06/1.527, allocations: 0 / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.349e-05/1.527, allocations: 0 / 1.167 GB, free: 3.285 MB / 0.8887 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.0006443/1.528, allocations: 319.5 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/1.528, allocations: 12.86 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.337e-05/1.528, allocations: 38.73 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/1.528, allocations: 0.9375 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/1.528, allocations: 164.4 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.528, allocations: 384 / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/1.528, allocations: 384 / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/1.528, allocations: 30.27 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.528, allocations: 3.938 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.528, allocations: 0 / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/1.529, allocations: 0 / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/1.529, allocations: 0 / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/1.529, allocations: 387.5 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/1.529, allocations: 169.1 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/1.529, allocations: 88.14 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/1.53, allocations: 79.31 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/1.53, allocations: 109.8 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/1.53, allocations: 0 / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001282/1.53, allocations: 33.62 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.53, allocations: 126.7 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.53, allocations: 97.8 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/1.53, allocations: 25.7 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/1.53, allocations: 84.14 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/1.53, allocations: 0 / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/1.53, allocations: 17.84 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.53, allocations: 310.8 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-06/1.53, allocations: 0 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/1.531, allocations: 0 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/1.531, allocations: 79.27 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-05/1.531, allocations: 79.22 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001048/1.531, allocations: 36.09 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/1.531, allocations: 79.28 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.232e-05/1.531, allocations: 79.31 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/1.531, allocations: 162.5 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/1.531, allocations: 79.28 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/1.531, allocations: 150.6 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.531, allocations: 83.2 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/1.531, allocations: 83.22 kB / 1.17 GB, free: 100 kB / 0.8887 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.0002646/1.532, allocations: 264.3 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.532, allocations: 104.9 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/1.532, allocations: 112.1 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/1.532, allocations: 176.3 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001262/1.532, allocations: 184.2 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001326/1.532, allocations: 180.3 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/1.533, allocations: 409.1 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-05/1.533, allocations: 105 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/1.533, allocations: 101 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/1.533, allocations: 180.2 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.534, allocations: 180.3 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00013/1.534, allocations: 184.2 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001332/1.534, allocations: 184.2 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/1.534, allocations: 308.1 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/1.534, allocations: 178.1 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.534, allocations: 200.2 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/1.535, allocations: 105 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.535, allocations: 180.2 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.535, allocations: 101 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.063e-05/1.535, allocations: 79.28 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3e-07/1.535, allocations: 0 / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004918/1.536, allocations: 96 / 1.173 GB, free: 12.43 MB / 0.9044 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.0007812/1.536, allocations: 0.8242 MB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/1.537, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.537, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/1.537, allocations: 4 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/1.537, allocations: 457.9 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/1.539, allocations: 1.52 MB / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/1.54, allocations: 0.6768 MB / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.392e-05/1.54, allocations: 0 / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/1.54, allocations: 7.438 kB / 1.176 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of SimCode: time 1.363e-06/1.54, allocations: 4.062 kB / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08869/1.629, allocations: 0.9167 MB / 1.177 GB, free: 8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.07/18.7, allocations: 6.391 kB / 1.177 GB, free: 7.996 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches