Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001707/0.001707, allocations: 206.7 kB / 22.24 MB, free: 5.258 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.387/3.387, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.00295/0.00295, allocations: 75.72 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3811, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00234/0.3835, allocations: 0.5802 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 5.022e-05/0.3835, allocations: 4 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.3836, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3836, allocations: 7.938 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.3836, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.639e-05/0.3837, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.3837, allocations: 7.984 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.801e-05/0.3838, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.3838, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.643e-05/0.3838, allocations: 7.922 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3838, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.3839, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3839, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.3839, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.881e-05/0.384, allocations: 8 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.384, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.295e-06/0.384, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.384, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 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.0003587/0.3843, allocations: 238.7 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3844, allocations: 12.03 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.3844, allocations: 34.69 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.3844, allocations: 0.9375 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3846, allocations: 102.5 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3846, allocations: 4.375 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.3846, allocations: 8.312 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.382e-05/0.3847, allocations: 38.2 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3847, allocations: 3.938 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.3847, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3847, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.3848, allocations: 4 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3851, allocations: 350.6 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3852, allocations: 173.4 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.3853, allocations: 84.17 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.3853, allocations: 75.28 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.3854, allocations: 105.8 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3854, allocations: 4 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.603e-05/0.3854, allocations: 33.73 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.3855, allocations: 138.6 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.3856, allocations: 93.86 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3856, allocations: 25.7 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.3857, allocations: 80.14 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3857, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.3857, allocations: 9.719 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3858, allocations: 314.8 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.3858, allocations: 4.125 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-06/0.3859, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.3859, allocations: 75.28 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.692e-05/0.3859, allocations: 79.22 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.713e-05/0.386, allocations: 33.69 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.386, allocations: 79.28 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.3861, allocations: 79.22 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.66e-05/0.3861, allocations: 154.6 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.3862, allocations: 79.22 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-05/0.3862, allocations: 150.6 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.3863, allocations: 83.28 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3864, allocations: 83.22 kB / 1.367 GB, free: 10.44 MB / 1.061 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.0001391/0.3865, allocations: 265.4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.3866, allocations: 105 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.3866, allocations: 108.1 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-05/0.3867, allocations: 177.3 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.722e-05/0.3868, allocations: 184.3 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.712e-05/0.3869, allocations: 188.1 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3871, allocations: 376.2 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.013e-05/0.3872, allocations: 108.9 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.3872, allocations: 109 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.427e-05/0.3873, allocations: 184.3 kB / 1.368 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.295e-05/0.3874, allocations: 180.2 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-05/0.3875, allocations: 176.6 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.542e-05/0.3876, allocations: 184.2 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3878, allocations: 319.7 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.3879, allocations: 105 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.388, allocations: 184.3 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3881, allocations: 104.9 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.3882, allocations: 184.2 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.3883, allocations: 108.9 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.3883, allocations: 79.28 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3883, allocations: 0 / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002574/0.3886, allocations: 4 kB / 1.37 GB, free: 6.879 MB / 1.061 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.0005681/0.3891, allocations: 0.8009 MB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.829e-05/0.3892, allocations: 4 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3892, allocations: 0 / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3892, allocations: 3.938 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3896, allocations: 462 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3909, allocations: 1.532 MB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.3909, allocations: 51.36 kB / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.514e-06/0.3909, allocations: 0 / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.391, allocations: 11.42 kB / 1.373 GB, free: 3.895 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.391, allocations: 4 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.4219, allocations: 1.419 MB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 2 kB / 1.374 GB, free: 2.602 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.77514357632026]