Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001765/0.001765, allocations: 97.88 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.002253/0.002253, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.862/2.862, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 176] 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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.001995/0.001995, allocations: 62.5 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 170 MB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001693/0.3246, allocations: 0.5821 MB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.651e-05/0.3246, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.3247, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.3247, allocations: 3.984 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.3247, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.391e-05/0.3247, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.3248, allocations: 7.875 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.3248, allocations: 4 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.135e-05/0.3248, allocations: 3.938 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.3248, allocations: 7.984 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.3249, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.406e-06/0.3249, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.3249, allocations: 4 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.3249, allocations: 4 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.019e-05/0.3249, allocations: 3.234 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3249, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3249, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.325, allocations: 3.938 kB / 1.285 GB, free: 9.863 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.000273/0.3252, allocations: 234.5 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3253, allocations: 12.03 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.213e-05/0.3253, allocations: 4.188 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.3253, allocations: 34.75 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.564e-05/0.3253, allocations: 0.9375 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.3254, allocations: 102.5 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-06/0.3254, allocations: 384 / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.3254, allocations: 4.375 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.3255, allocations: 37.94 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.3255, allocations: 0 / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.3255, allocations: 0 / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3255, allocations: 0 / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.3255, allocations: 8 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.3258, allocations: 350.5 kB / 1.285 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.3259, allocations: 173.1 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.326, allocations: 88.17 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.326, allocations: 75.28 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.3261, allocations: 105.8 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3261, allocations: 0 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.521e-05/0.3261, allocations: 29.66 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3262, allocations: 130.7 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.3263, allocations: 101.9 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3263, allocations: 25.7 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.3263, allocations: 80.14 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.3263, allocations: 0 / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.3263, allocations: 13.89 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3265, allocations: 314.8 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-06/0.3265, allocations: 4 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.3265, allocations: 8 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.3265, allocations: 79.22 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-05/0.3266, allocations: 75.28 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.298e-05/0.3266, allocations: 29.7 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.3267, allocations: 87.34 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.3267, allocations: 79.22 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.271e-05/0.3268, allocations: 158.6 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.352e-05/0.3268, allocations: 83.2 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.029e-05/0.3269, allocations: 154.5 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.3269, allocations: 81.05 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.327, allocations: 79.22 kB / 1.287 GB, free: 6.875 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.0001192/0.3271, allocations: 260.3 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.3272, allocations: 109 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.3272, allocations: 108.1 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.429e-05/0.3273, allocations: 184.2 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.099e-05/0.3273, allocations: 180.3 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/0.3274, allocations: 180.2 kB / 1.288 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.3277, allocations: 380.2 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/0.3277, allocations: 101 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.3277, allocations: 104.9 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.3278, allocations: 184.3 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.3279, allocations: 180.2 kB / 1.289 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.256e-05/0.328, allocations: 180.2 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.688e-05/0.328, allocations: 188.2 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.3282, allocations: 300.1 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3282, allocations: 108.9 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.3283, allocations: 192.3 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.3284, allocations: 101 kB / 1.29 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.3285, allocations: 180.2 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3285, allocations: 109 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.3286, allocations: 75.28 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3286, allocations: 0 / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.3288, allocations: 4 kB / 1.291 GB, free: 3.344 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.000445/0.3292, allocations: 0.8127 MB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.553e-05/0.3293, allocations: 0 / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3293, allocations: 0 / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3293, allocations: 0 / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3297, allocations: 463.6 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3308, allocations: 1.528 MB / 1.293 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.3308, allocations: 59.34 kB / 1.293 GB, free: 368 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.412e-06/0.3308, allocations: 0 / 1.293 GB, free: 368 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.3309, allocations: 11.38 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3309, allocations: 8.062 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.3512, allocations: 1.07 MB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.71, allocations: 4.812 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.628024197067134]