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.0009916/0.0009916, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001004/0.001004, allocations: 210.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9411/0.9411, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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 2/2, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 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 0.00104/0.00104, allocations: 67.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7952, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001625/0.7969, allocations: 0.5841 MB / 1.353 GB, free: 1.078 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 4.288e-05/0.7969, allocations: 7.938 kB / 1.353 GB, free: 1.07 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.7969, allocations: 0 / 1.353 GB, free: 1.07 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.797, allocations: 0 / 1.353 GB, free: 1.07 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.797, allocations: 0 / 1.353 GB, free: 1.07 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 3.227e-05/0.797, allocations: 0 / 1.353 GB, free: 1.07 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.7971, allocations: 0 / 1.353 GB, free: 1.07 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.7971, allocations: 5.938 kB / 1.353 GB, free: 1.066 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.7971, allocations: 0 / 1.353 GB, free: 1.066 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.7972, allocations: 7.984 kB / 1.353 GB, free: 1.059 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.7972, allocations: 4 kB / 1.353 GB, free: 1.055 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-06/0.7972, allocations: 0 / 1.353 GB, free: 1.055 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.7972, allocations: 0 / 1.353 GB, free: 1.055 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.7972, allocations: 0 / 1.353 GB, free: 1.055 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 6.624e-05/0.7973, allocations: 3.984 kB / 1.353 GB, free: 1.051 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7973, allocations: 4 kB / 1.353 GB, free: 1.047 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7973, allocations: 0 / 1.353 GB, free: 1.047 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7973, allocations: 0 / 1.353 GB, free: 1.047 MB / 1.026 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.0002176/0.7975, allocations: 232.7 kB / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7976, allocations: 8.922 kB / 1.353 GB, free: 0.7812 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.7976, allocations: 34.69 kB / 1.353 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.7976, allocations: 4.938 kB / 1.353 GB, free: 0.7344 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.23e-05/0.7977, allocations: 121.5 kB / 1.353 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7977, allocations: 384 / 1.353 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.7977, allocations: 384 / 1.353 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.7978, allocations: 26.27 kB / 1.353 GB, free: 0.5625 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7978, allocations: 3.938 kB / 1.353 GB, free: 0.5586 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.7978, allocations: 4 kB / 1.354 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7978, allocations: 0 / 1.354 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.7978, allocations: 3.984 kB / 1.354 GB, free: 0.5508 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.922e-05/0.7979, allocations: 112.8 kB / 1.354 GB, free: 408 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.798, allocations: 26.55 kB / 1.354 GB, free: 372 kB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.798, allocations: 20.84 kB / 1.354 GB, free: 348 kB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.798, allocations: 0 / 1.354 GB, free: 348 kB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.798, allocations: 34.56 kB / 1.354 GB, free: 304 kB / 1.026 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.798, allocations: 0 / 1.354 GB, free: 304 kB / 1.026 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.7981, allocations: 33.64 kB / 1.354 GB, free: 264 kB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.7981, allocations: 55.41 kB / 1.354 GB, free: 196 kB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.882e-05/0.7982, allocations: 93.86 kB / 1.354 GB, free: 92 kB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.7982, allocations: 25.7 kB / 1.354 GB, free: 60 kB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.7982, allocations: 80.14 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.7982, allocations: 8.062 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.7983, allocations: 9.719 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.7983, allocations: 318.8 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.7984, allocations: 0 / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.7984, allocations: 0 / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.7984, allocations: 12.86 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7984, allocations: 0 / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.902e-05/0.7984, allocations: 29.7 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7984, allocations: 8 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7984, allocations: 8.031 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7985, allocations: 0 / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.7985, allocations: 0 / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7985, allocations: 3.938 kB / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.7985, allocations: 0 / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.7985, allocations: 4 kB / 1.354 GB, free: 15.56 MB / 1.042 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 5.298e-05/0.7986, allocations: 114.3 kB / 1.354 GB, free: 15.44 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-06/0.7986, allocations: 0 / 1.354 GB, free: 15.44 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.7986, allocations: 10.94 kB / 1.354 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7986, allocations: 0 / 1.354 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7986, allocations: 0 / 1.354 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7986, allocations: 8 kB / 1.354 GB, free: 15.42 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.647e-05/0.7987, allocations: 112.8 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.7987, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-06/0.7987, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7987, allocations: 7.984 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.7987, allocations: 3.938 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.7987, allocations: 0 / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7987, allocations: 0 / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.277e-05/0.7987, allocations: 57.14 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.7988, allocations: 3.953 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.7988, allocations: 11.91 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-06/0.7988, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.7988, allocations: 3.984 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.7988, allocations: 3.938 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.7988, allocations: 79.28 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.7988, allocations: 0 / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001157/0.7989, allocations: 0 / 1.355 GB, free: 15.08 MB / 1.042 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.0002514/0.7992, allocations: 0.5929 MB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.7992, allocations: 7.969 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7992, allocations: 0 / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.7992, allocations: 4 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.7994, allocations: 1.719 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.7997, allocations: 111.4 kB / 1.355 GB, free: 14.3 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.7997, allocations: 55.34 kB / 1.355 GB, free: 14.22 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.7997, allocations: 4 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.7997, allocations: 7.438 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of SimCode: time 4.71e-07/0.7997, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08414/0.8839, allocations: 1.395 MB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.85, allocations: 7.5 kB / 1.357 GB, free: 12.95 MB / 1.042 GB " [Timeout remaining time 292] (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.741795887239277]