Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001611/0.001611, 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.001482/0.001482, allocations: 208 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.773 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.807/2.807, allocations: 476 MB / 0.7699 GB, free: 4.723 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.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",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.002068/0.002068, allocations: 66.53 kB / 1.117 GB, free: 40.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 169.9 MB / 1.283 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001706/0.2934, allocations: 0.5859 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.281e-05/0.2935, allocations: 0 / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.2935, allocations: 0 / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2935, allocations: 0 / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.377e-05/0.2935, allocations: 3.938 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.749e-05/0.2936, allocations: 0 / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.2936, allocations: 11.98 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.2937, allocations: 3.984 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.2937, allocations: 4 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.55e-05/0.2937, allocations: 0 / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.2937, allocations: 0 / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.2937, allocations: 3.938 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.2937, allocations: 4 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.2937, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.205e-05/0.2938, allocations: 7.453 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2938, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2938, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2938, allocations: 0 / 1.283 GB, free: 11.65 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.0002499/0.294, allocations: 234.5 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2941, allocations: 12.03 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.2941, allocations: 42.75 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.653e-05/0.2941, allocations: 0.9375 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.2942, allocations: 102.5 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2942, allocations: 384 / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.2942, allocations: 384 / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.465e-05/0.2943, allocations: 34.2 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2943, allocations: 3.938 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.2943, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.2943, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.417e-05/0.2943, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2945, allocations: 128.8 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.2945, allocations: 14.58 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.2945, allocations: 8.953 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.2945, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2946, allocations: 34.5 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2946, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.2947, allocations: 41.64 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2947, allocations: 51.41 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.481e-05/0.2948, allocations: 89.86 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2948, allocations: 29.83 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.2948, allocations: 80.14 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.2948, allocations: 7.938 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2949, allocations: 13.72 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.295, allocations: 310.8 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-06/0.295, allocations: 0 / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-06/0.295, allocations: 8 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.295, allocations: 8.797 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.295, allocations: 3.938 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.427e-05/0.2951, allocations: 37.77 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2951, allocations: 4 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2951, allocations: 3.938 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2951, allocations: 0 / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.2952, allocations: 7.984 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2952, allocations: 3.938 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.2952, allocations: 0 / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.2952, allocations: 0 / 1.284 GB, free: 10.16 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 (1): * Single equations (assignments): 1 * 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 7.331e-05/0.2953, allocations: 110.9 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.2953, allocations: 4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.2953, allocations: 10.92 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2953, allocations: 4.031 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2953, allocations: 3.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2953, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2954, allocations: 116.8 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2954, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.2954, allocations: 4 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2954, allocations: 0 / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2954, allocations: 3.938 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2954, allocations: 4 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2954, allocations: 0 / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.339e-05/0.2955, allocations: 61.14 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.2955, allocations: 3.984 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.2955, allocations: 3.938 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.2955, allocations: 4 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.2955, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.2955, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.442e-05/0.2956, allocations: 75.28 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2956, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001851/0.2958, allocations: 0 / 1.285 GB, free: 9.691 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 (1): * Single equations (assignments): 1 * 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.0003746/0.2961, allocations: 0.6007 MB / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.885e-05/0.2962, allocations: 4 kB / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2962, allocations: 0 / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.2962, allocations: 7.938 kB / 1.285 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.2963, allocations: 4.094 kB / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2966, allocations: 103.3 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.2967, allocations: 55.36 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.868e-06/0.2967, allocations: 0 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.2967, allocations: 7.438 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.2967, allocations: 4.125 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3248, allocations: 1.406 MB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.55, allocations: 7.984 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.25010808883235]