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.001691/0.001691, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002269/0.002269, allocations: 215.7 kB / 22.25 MB, free: 5.105 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.82 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.271/3.271, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.003652/0.003652, allocations: 70.25 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4231, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002832/0.4259, allocations: 0.5873 MB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 6.242e-05/0.426, allocations: 0 / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.426, allocations: 3.938 kB / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.4261, allocations: 0 / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.4261, allocations: 4 kB / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.731e-05/0.4261, allocations: 3.984 kB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.4262, allocations: 3.938 kB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.4263, allocations: 4 kB / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.4264, allocations: 0 / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.4264, allocations: 4 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.4264, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.4264, allocations: 3.938 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.4264, allocations: 0 / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.4265, allocations: 7.984 kB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.233e-05/0.4266, allocations: 3.984 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4266, allocations: 0 / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4266, allocations: 0 / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4266, allocations: 0 / 1.326 GB, free: 0.8828 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.0004491/0.427, allocations: 240.5 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.4271, allocations: 12.03 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.4271, allocations: 30.75 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.4272, allocations: 0.9375 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4273, allocations: 106.5 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4273, allocations: 4.375 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.4273, allocations: 4.375 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4275, allocations: 26.27 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4275, allocations: 3.938 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4275, allocations: 3.938 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4275, allocations: 4 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/0.4275, allocations: 4 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.4278, allocations: 116.8 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.4278, allocations: 22.61 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.4279, allocations: 4.859 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4279, allocations: 0 / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.4279, allocations: 34.62 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.4279, allocations: 0 / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.4281, allocations: 37.58 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.4282, allocations: 59.52 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.4283, allocations: 90.27 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4283, allocations: 33.64 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.4283, allocations: 80.14 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.4284, allocations: 7.953 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.4284, allocations: 9.719 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4286, allocations: 310.8 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.4286, allocations: 7.938 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.4286, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.4286, allocations: 16.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4286, allocations: 4.062 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.237e-05/0.4287, allocations: 29.7 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4287, allocations: 7.984 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4287, allocations: 3.938 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4288, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.4288, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4288, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.4289, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.4289, allocations: 0 / 1.328 GB, free: 15.39 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 0.0001204/0.429, allocations: 110.4 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.429, allocations: 4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.429, allocations: 6.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.429, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.429, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.429, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.4292, allocations: 124.8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4292, allocations: 3.984 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/0.4292, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4292, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.4292, allocations: 11.88 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4292, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4292, allocations: 8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.366e-05/0.4293, allocations: 61.12 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.4293, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4293, allocations: 3.938 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.4293, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.4293, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.4293, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.4294, allocations: 79.22 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4294, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002792/0.4297, allocations: 4 kB / 1.328 GB, free: 14.91 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.0005158/0.4302, allocations: 0.5968 MB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.4303, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4303, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.4303, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.4305, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.431, allocations: 123.2 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.431, allocations: 51.36 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.431, allocations: 4.156 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.4311, allocations: 7.438 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4311, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.4636, allocations: 1.42 MB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.33, allocations: 8.672 kB / 1.33 GB, free: 12.73 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: 18.484505252010422]