Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001938/0.001938, 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.002594/0.002594, allocations: 218.8 kB / 22.26 MB, free: 5.121 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.003282/0.003282, allocations: 69.72 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3916, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001826/0.3934, allocations: 0.5532 MB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.443e-05/0.3935, allocations: 7.938 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.3935, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.3935, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.303e-05/0.3935, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.403e-05/0.3936, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.3936, allocations: 4 kB / 1.326 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.3937, allocations: 3.984 kB / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.3937, allocations: 0 / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.3937, allocations: 3.984 kB / 1.326 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3937, allocations: 4 kB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-06/0.3937, allocations: 4 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3937, allocations: 0 / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.3938, allocations: 7.938 kB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.557e-05/0.3938, allocations: 0 / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3938, allocations: 0 / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3938, allocations: 3.938 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3938, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 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.0003167/0.3941, allocations: 238.7 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3942, allocations: 12.03 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3942, allocations: 30.75 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.877e-05/0.3942, allocations: 8.875 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3944, allocations: 106.5 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3944, allocations: 4.375 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3944, allocations: 4.375 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.886e-05/0.3944, allocations: 26.27 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3945, allocations: 3.938 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.3945, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3945, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.3945, allocations: 4 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.3949, allocations: 362.5 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.395, allocations: 169.5 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.395, allocations: 80.14 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.395, allocations: 75.28 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/0.3951, allocations: 117.8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3951, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.745e-05/0.3952, allocations: 37.67 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.3953, allocations: 126.7 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.3954, allocations: 93.86 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3954, allocations: 25.7 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.3954, allocations: 84.27 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.3954, allocations: 7.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.3955, allocations: 9.719 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3956, allocations: 314.8 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.3956, allocations: 0 / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/0.3956, allocations: 4 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.3956, allocations: 75.28 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.83e-05/0.3957, allocations: 79.22 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.754e-05/0.3957, allocations: 29.64 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.3958, allocations: 89 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.3958, allocations: 75.28 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.696e-05/0.3959, allocations: 150.6 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.157e-05/0.3959, allocations: 79.22 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.29e-05/0.396, allocations: 158.6 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.3961, allocations: 83.2 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.3961, allocations: 79.28 kB / 1.329 GB, free: 14.33 MB / 1.029 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.0001337/0.3962, allocations: 264.9 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3963, allocations: 101 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.3964, allocations: 116 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-05/0.3964, allocations: 180.2 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.732e-05/0.3965, allocations: 188.2 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.621e-05/0.3966, allocations: 176.3 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3968, allocations: 372.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.812e-05/0.3969, allocations: 116.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.3969, allocations: 101 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.97e-05/0.397, allocations: 180.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.3971, allocations: 180.3 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.067e-05/0.3972, allocations: 184.5 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.678e-05/0.3972, allocations: 180.2 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3974, allocations: 311.7 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3975, allocations: 105 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.3975, allocations: 192.2 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.3976, allocations: 105 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.3977, allocations: 176.3 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.3978, allocations: 104.9 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.3978, allocations: 83.28 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3978, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002636/0.3981, allocations: 3.938 kB / 1.332 GB, free: 10.77 MB / 1.029 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.0005148/0.3986, allocations: 0.8048 MB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.524e-05/0.3987, allocations: 4.031 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3987, allocations: 4 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.3987, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3991, allocations: 465.1 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4003, allocations: 1.528 MB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4006, allocations: 0.6768 MB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.773e-06/0.4006, allocations: 0 / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.4006, allocations: 7.438 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4006, allocations: 0 / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.4271, allocations: 1.005 MB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.32, allocations: 10.42 kB / 1.337 GB, free: 6.277 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.09873505900032]