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.001715/0.001715, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00166/0.00166, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.793 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.405/3.405, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.002037/0.002037, allocations: 69.45 kB / 1.153 GB, free: 25.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 176.1 MB / 1.325 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001997/0.3623, allocations: 0.5467 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.006e-05/0.3624, allocations: 3.984 kB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.3624, allocations: 0 / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.3624, allocations: 0 / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.3625, allocations: 0 / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.474e-05/0.3625, allocations: 12 kB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.3626, allocations: 3.938 kB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.3626, allocations: 0 / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.3626, allocations: 3.938 kB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.3627, allocations: 3.984 kB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3627, allocations: 4 kB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/0.3627, allocations: 0 / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3627, allocations: 0 / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.3627, allocations: 0 / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.872e-05/0.3628, allocations: 3.938 kB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3628, allocations: 0 / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3628, allocations: 4 kB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3628, allocations: 0 / 1.326 GB, free: 1.949 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.0003119/0.3631, allocations: 242.7 kB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3631, allocations: 12.06 kB / 1.326 GB, free: 1.668 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3632, allocations: 30.75 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.3632, allocations: 0.9375 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3633, allocations: 106.5 kB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3633, allocations: 384 / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.3633, allocations: 384 / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.3634, allocations: 34.25 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3634, allocations: 7.938 kB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3634, allocations: 0 / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3635, allocations: 7.984 kB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.3635, allocations: 3.938 kB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.3639, allocations: 350.6 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.364, allocations: 177.5 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.364, allocations: 80.14 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.364, allocations: 79.22 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.3641, allocations: 105.8 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3641, allocations: 0 / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.9e-05/0.3642, allocations: 33.73 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.3643, allocations: 130.7 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.3644, allocations: 97.86 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3644, allocations: 25.7 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.3644, allocations: 80.14 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.3644, allocations: 0 / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.3644, allocations: 13.7 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3646, allocations: 314.8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.3646, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.3646, allocations: 7.875 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.3646, allocations: 75.28 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.901e-05/0.3647, allocations: 87.34 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.971e-05/0.3647, allocations: 33.64 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.3648, allocations: 79.28 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.3648, allocations: 75.28 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.809e-05/0.3649, allocations: 162.5 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.3649, allocations: 79.27 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-05/0.365, allocations: 154.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.3651, allocations: 79.28 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.3651, allocations: 75.28 kB / 1.328 GB, free: 14.96 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.0001416/0.3652, allocations: 272.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.3653, allocations: 105 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.3654, allocations: 108.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.905e-05/0.3655, allocations: 184.2 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.765e-05/0.3656, allocations: 176.3 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-05/0.3656, allocations: 180.3 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3659, allocations: 380.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/0.3659, allocations: 105 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.366, allocations: 108.9 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.028e-05/0.3661, allocations: 176.3 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/0.3662, allocations: 184.2 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.361e-05/0.3662, allocations: 184.6 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.839e-05/0.3663, allocations: 180.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3665, allocations: 311.7 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3666, allocations: 112.9 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.3667, allocations: 176.3 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.3667, allocations: 101 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.3668, allocations: 184.2 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.3669, allocations: 101 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.3669, allocations: 83.28 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3669, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002623/0.3672, allocations: 0 / 1.332 GB, free: 11.41 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.0005392/0.3677, allocations: 0.8127 MB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.015e-05/0.3678, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3678, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3678, allocations: 3.938 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.3682, allocations: 467.6 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3694, allocations: 1.521 MB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.3695, allocations: 63.28 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.283e-06/0.3695, allocations: 8.031 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.3695, allocations: 7.438 kB / 1.334 GB, free: 8.41 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3695, allocations: 0 / 1.334 GB, free: 8.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3969, allocations: 1.411 MB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.63, allocations: 8.875 kB / 1.336 GB, free: 7.129 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.618106831330806]