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.0016/0.0016, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001614/0.001614, allocations: 214 kB / 23.03 MB, free: 4.926 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.722/2.722, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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="cs",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="cs",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.001982/0.001982, allocations: 65.52 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002021/0.3235, allocations: 0.5496 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.484e-05/0.3236, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3236, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.3237, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.3237, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.258e-05/0.3237, allocations: 7.984 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.3238, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.3238, allocations: 7.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.3239, allocations: 11.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.33e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-06/0.3239, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.273e-05/0.324, allocations: 7.516 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.324, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.424e-06/0.324, allocations: 7.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.324, allocations: 0 / 1.285 GB, free: 10.09 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.0003363/0.3244, allocations: 238.5 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3244, allocations: 8.031 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.53e-05/0.3244, allocations: 192 / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.3245, allocations: 34.75 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.3245, allocations: 0.9375 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3246, allocations: 102.5 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3246, allocations: 384 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3246, allocations: 384 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.011e-05/0.3247, allocations: 42 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3247, allocations: 7.922 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.3248, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3248, allocations: 4 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.555e-05/0.3248, allocations: 0 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.3252, allocations: 354.6 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3253, allocations: 169.1 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.3254, allocations: 88.06 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.3254, allocations: 75.28 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.3255, allocations: 109.8 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3255, allocations: 4 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.565e-05/0.3256, allocations: 29.66 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.3256, allocations: 126.7 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.3257, allocations: 97.86 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3257, allocations: 25.7 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.3258, allocations: 84.14 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.3258, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.3258, allocations: 13.89 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.326, allocations: 310.8 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/0.326, allocations: 3.938 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.326, allocations: 4.125 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.326, allocations: 87.22 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/0.3261, allocations: 75.28 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.083e-05/0.3261, allocations: 25.7 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3262, allocations: 87.22 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/0.3262, allocations: 75.28 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.157e-05/0.3263, allocations: 162.4 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.3263, allocations: 79.28 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.141e-05/0.3264, allocations: 158.5 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.3265, allocations: 77.05 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.3265, allocations: 79.28 kB / 1.287 GB, free: 7.105 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.0001395/0.3266, allocations: 268.3 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.3267, allocations: 105 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.3268, allocations: 112.1 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.865e-05/0.3269, allocations: 180.2 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.851e-05/0.3269, allocations: 176.3 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.719e-05/0.327, allocations: 184.2 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3274, allocations: 380.2 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/0.3275, allocations: 101 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.3275, allocations: 104.9 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-05/0.3276, allocations: 180.3 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-05/0.3277, allocations: 188.2 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.983e-05/0.3278, allocations: 184.2 kB / 1.289 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-05/0.3279, allocations: 176.3 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.328, allocations: 308.1 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.3281, allocations: 108.9 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.3282, allocations: 188.3 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.3283, allocations: 101 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.3284, allocations: 184.2 kB / 1.29 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.3284, allocations: 105 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.3285, allocations: 75.28 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 4.094 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000268/0.3288, allocations: 0 / 1.291 GB, free: 3.57 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.0005119/0.3293, allocations: 0.8087 MB / 1.291 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.946e-05/0.3293, allocations: 8 kB / 1.291 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3293, allocations: 0 / 1.291 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3293, allocations: 0 / 1.291 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3297, allocations: 459.6 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.3309, allocations: 1.524 MB / 1.293 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.3309, allocations: 63.44 kB / 1.293 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.205e-06/0.3309, allocations: 0 / 1.293 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.331, allocations: 15.31 kB / 1.293 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.331, allocations: 0 / 1.293 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.3523, allocations: 1.061 MB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.79, allocations: 4.062 kB / 1.295 GB, free: 15.65 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.411855951999314]