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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 215.3 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.78 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00174/0.3736, allocations: 0.5554 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.92e-05/0.3736, allocations: 3.938 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.3736, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.3736, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.3737, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.98e-05/0.3737, allocations: 7.984 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.803e-05/0.3738, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.3738, allocations: 4 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.3738, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.3738, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3739, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-06/0.3739, allocations: 4 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.3739, allocations: 3.984 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.3739, allocations: 3.938 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.59e-05/0.374, allocations: 8 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.374, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.374, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.374, allocations: 0 / 1.284 GB, free: 11.13 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.0003094/0.3743, allocations: 235.2 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3743, allocations: 8.031 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.3744, allocations: 34.75 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.3744, allocations: 12.88 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.3745, allocations: 106.5 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3745, allocations: 4.312 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.3745, allocations: 384 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.558e-05/0.3746, allocations: 38.25 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3746, allocations: 3.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.3746, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3746, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.3746, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.375, allocations: 358.5 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3751, allocations: 173.1 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.3751, allocations: 84.14 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.3752, allocations: 75.28 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.3752, allocations: 109.8 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3752, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.434e-05/0.3753, allocations: 37.62 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.3754, allocations: 126.7 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.3754, allocations: 93.86 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3755, allocations: 29.64 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.3755, allocations: 80.27 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-06/0.3755, allocations: 8 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.3755, allocations: 13.7 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3757, allocations: 315 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-06/0.3757, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.3757, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.3757, allocations: 79.28 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.932e-05/0.3757, allocations: 79.22 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.585e-05/0.3758, allocations: 33.64 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3758, allocations: 83.28 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.3759, allocations: 79.28 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.869e-05/0.376, allocations: 150.6 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.376, allocations: 83.2 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.99e-05/0.3761, allocations: 150.6 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.3762, allocations: 87.22 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3762, allocations: 81.06 kB / 1.287 GB, free: 8.133 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.0001344/0.3763, allocations: 260.3 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.3764, allocations: 101 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.3764, allocations: 116.1 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.78e-05/0.3765, allocations: 176.3 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.783e-05/0.3766, allocations: 188.2 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.072e-05/0.3767, allocations: 176.3 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3769, allocations: 376.2 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/0.377, allocations: 104.9 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.377, allocations: 105 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.24e-05/0.3771, allocations: 192.1 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.3772, allocations: 180.3 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.186e-05/0.3773, allocations: 188.2 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001159/0.3774, allocations: 180.3 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3776, allocations: 304.1 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.3776, allocations: 113 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.3777, allocations: 180.2 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.3778, allocations: 105 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3779, allocations: 184.3 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3779, allocations: 104.9 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.378, allocations: 83.2 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.378, allocations: 4.094 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00027/0.3782, allocations: 4 kB / 1.29 GB, free: 4.586 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.0004791/0.3787, allocations: 0.797 MB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.854e-05/0.3788, allocations: 3.938 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3788, allocations: 8 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3788, allocations: 0 / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3792, allocations: 455.7 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3804, allocations: 1.524 MB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3807, allocations: 0.6729 MB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.726e-06/0.3807, allocations: 8 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.3807, allocations: 7.438 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3807, allocations: 0 / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.4075, allocations: 1.012 MB / 1.294 GB, free: 104 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.06, allocations: 6 kB / 1.294 GB, free: 100 kB / 0.9825 GB " [Timeout remaining time 288] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.759239790999345]