Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008212/0.0008212, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008915/0.0008915, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9586/0.9586, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.946/1.946, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_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_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.121e-05, allocations: 2.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001212/0.001233, allocations: 0.5841 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.373e-05/0.001277, allocations: 0 / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.001296, allocations: 0 / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.001322, allocations: 0 / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.001352, allocations: 3.938 kB / 1.001 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.033e-05/0.001383, allocations: 4 kB / 1.001 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.281e-05/0.001435, allocations: 4 kB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.001484, allocations: 7.922 kB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.001521, allocations: 4 kB / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.19e-05/0.001543, allocations: 4 kB / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.001556, allocations: 0 / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-06/0.00156, allocations: 0 / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.001573, allocations: 0 / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.001593, allocations: 4 kB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.922e-05/0.001652, allocations: 3.984 kB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.001654, allocations: 3.938 kB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.61e-07/0.001654, allocations: 0 / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.001659, allocations: 4 kB / 1.001 GB, free: 12.83 MB / 0.9636 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.0002169/0.001876, allocations: 234.4 kB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.001917, allocations: 13.38 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.001947, allocations: 30.75 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.799e-05/0.001965, allocations: 0.9375 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.671e-05/0.002022, allocations: 105.8 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.002031, allocations: 384 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.002039, allocations: 4.375 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.002123, allocations: 26.27 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.002131, allocations: 192 / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.002139, allocations: 4.312 kB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.002146, allocations: 8.125 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.631e-05/0.002162, allocations: 4 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.002263, allocations: 116.8 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.002302, allocations: 22.61 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.002322, allocations: 4.859 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.002329, allocations: 0 / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.002347, allocations: 34.62 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.002348, allocations: 0 / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.002464, allocations: 33.77 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.002495, allocations: 59.34 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.844e-05/0.002523, allocations: 93.86 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.002533, allocations: 25.7 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.002555, allocations: 80.14 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.002585, allocations: 11.94 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.002608, allocations: 9.719 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.002691, allocations: 310.8 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.002703, allocations: 4 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.002709, allocations: 0 / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.002744, allocations: 24.86 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.002746, allocations: 0 / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.231e-05/0.002789, allocations: 29.7 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.002801, allocations: 7.938 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.002806, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.00282, allocations: 7.922 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.002879, allocations: 4 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.002887, allocations: 7.922 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.002896, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.002901, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 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 6.27e-05/0.002964, allocations: 116.5 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-06/0.002968, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.002989, allocations: 3 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.002991, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.002997, allocations: 3.938 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.784e-05/0.003068, allocations: 128.7 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.00307, allocations: 3.984 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.003078, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.003079, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.003086, allocations: 3.938 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.003086, allocations: 4 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.003088, allocations: 7.938 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.306e-05/0.003141, allocations: 49.14 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.003149, allocations: 7.984 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.003158, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-06/0.003161, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.003179, allocations: 7.938 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.00318, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.003204, allocations: 75.28 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003204, allocations: 0 / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000122/0.003326, allocations: 4 kB / 1.003 GB, free: 10.87 MB / 0.9636 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.0002278/0.003554, allocations: 0.589 MB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.495e-05/0.003619, allocations: 8 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00362, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.003624, allocations: 4 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.003731, allocations: 3.938 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.004041, allocations: 114.5 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.657e-05/0.004077, allocations: 55.52 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.133e-05/0.004088, allocations: 4 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.00411, allocations: 8.5 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/0.004111, allocations: 3.938 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08041/0.08452, allocations: 1.537 MB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.342, allocations: 8 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.060548784211278]