Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001879/0.001879, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002379/0.002379, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.02 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.303/3.303, allocations: 0.49 GB / 0.7951 GB, free: 33.58 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.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_12_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_12_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.002006/0.002006, allocations: 67.19 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3936, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001864/0.3955, allocations: 0.5856 MB / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.575e-05/0.3955, allocations: 0 / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.3956, allocations: 4 kB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.3956, allocations: 0 / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.3956, allocations: 3.938 kB / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.793e-05/0.3957, allocations: 4 kB / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.3957, allocations: 0 / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.3958, allocations: 0 / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.3958, allocations: 4 kB / 1.327 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.347e-05/0.3958, allocations: 3.984 kB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3959, allocations: 0 / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-06/0.3959, allocations: 4 kB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3959, allocations: 0 / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.3959, allocations: 0 / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.396, allocations: 3.984 kB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.396, allocations: 4 kB / 1.327 GB, free: 1.316 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/0.396, allocations: 3.938 kB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.396, allocations: 3.938 kB / 1.327 GB, free: 1.309 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.0003069/0.3963, allocations: 230.7 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3963, allocations: 12.06 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.3964, allocations: 30.75 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.938e-05/0.3964, allocations: 4.938 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.737e-05/0.3965, allocations: 106.5 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3965, allocations: 4.375 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3965, allocations: 4.359 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3966, allocations: 30.2 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3966, allocations: 3.938 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3966, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3966, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.3966, allocations: 4 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.3968, allocations: 120.8 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/0.3968, allocations: 18.61 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.3969, allocations: 4.859 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3969, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.3969, allocations: 42.48 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 2.685e-06/0.3969, allocations: 8.047 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.3971, allocations: 37.64 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3971, allocations: 51.81 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.3972, allocations: 89.86 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3972, allocations: 25.7 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.3972, allocations: 80.14 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3973, allocations: 3.953 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3973, allocations: 13.72 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3975, allocations: 315 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.3975, allocations: 4 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.3975, allocations: 3.984 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/0.3975, allocations: 12.8 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3975, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.228e-05/0.3976, allocations: 29.7 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3976, allocations: 8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3976, allocations: 3.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3976, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.3977, allocations: 4.094 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3977, allocations: 3.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.3977, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3977, allocations: 4 kB / 1.328 GB, free: 15.82 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 (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 8.477e-05/0.3978, allocations: 106.4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.3978, allocations: 3.984 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.3978, allocations: 10.88 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.3978, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3978, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3978, allocations: 11.94 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3979, allocations: 112.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3979, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-06/0.3979, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3979, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3979, allocations: 7.922 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3979, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.3979, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.398, allocations: 61.14 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.398, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.398, allocations: 3.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.398, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.3981, allocations: 3.984 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.3981, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.3981, allocations: 75.28 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3981, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002027/0.3983, allocations: 4 kB / 1.328 GB, free: 15.34 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 (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.0004525/0.3987, allocations: 0.6007 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.3988, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3988, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.154e-06/0.3988, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.399, allocations: 8.156 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.3994, allocations: 107.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3997, allocations: 0.6729 MB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.3997, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.3997, allocations: 11.44 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3997, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.431, allocations: 1.001 MB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.92, allocations: 12.25 kB / 1.331 GB, free: 12.96 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.955803991999346]