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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 72.12 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7613, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001394/0.7627, allocations: 0.5941 MB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.505e-05/0.7628, allocations: 5.656 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.7628, allocations: 3.938 kB / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.7628, allocations: 1.031 kB / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.573e-05/0.7628, allocations: 0 / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.862e-05/0.7629, allocations: 4 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.7629, allocations: 1.562 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.7629, allocations: 2.75 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.763, allocations: 1.625 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.486e-05/0.763, allocations: 1.312 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.763, allocations: 0.8438 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-06/0.763, allocations: 0 / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.763, allocations: 0.8438 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.763, allocations: 0 / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.905e-05/0.7631, allocations: 7.281 kB / 1.272 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7631, allocations: 1.188 kB / 1.272 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7631, allocations: 4 kB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7631, allocations: 0 / 1.272 GB, free: 7.344 MB / 0.9981 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.0001739/0.7632, allocations: 313.2 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7633, allocations: 9.781 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.777e-05/0.7633, allocations: 30.75 kB / 1.272 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.666e-05/0.7633, allocations: 2.375 kB / 1.272 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.385e-05/0.7634, allocations: 162.8 kB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.7634, allocations: 1.281 kB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.7634, allocations: 5.781 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.609e-05/0.7634, allocations: 32.5 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.7634, allocations: 3.938 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.7635, allocations: 0.7812 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-06/0.7635, allocations: 3.938 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.7635, allocations: 2.234 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.336e-05/0.7635, allocations: 147.7 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.672e-05/0.7636, allocations: 17.28 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.7636, allocations: 16.16 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.7636, allocations: 0 / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.7636, allocations: 36.03 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.7636, allocations: 0 / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 8.878e-05/0.7637, allocations: 39.77 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.7637, allocations: 52.3 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.087e-05/0.7637, allocations: 90.52 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.7637, allocations: 25.7 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-06/0.7637, allocations: 88.83 kB / 1.273 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.7638, allocations: 0.6875 kB / 1.273 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.7638, allocations: 12.09 kB / 1.273 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.039e-05/0.7638, allocations: 316.2 kB / 1.273 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.7638, allocations: 4.688 kB / 1.273 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-06/0.7638, allocations: 2.25 kB / 1.273 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.7638, allocations: 7.172 kB / 1.273 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7638, allocations: 4.656 kB / 1.273 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.646e-05/0.7639, allocations: 32.28 kB / 1.273 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.7639, allocations: 5.859 kB / 1.273 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.7639, allocations: 3.938 kB / 1.273 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.7639, allocations: 1.344 kB / 1.273 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.7639, allocations: 0.9062 kB / 1.273 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.764, allocations: 5.391 kB / 1.273 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-06/0.764, allocations: 0 / 1.273 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.764, allocations: 0.6562 kB / 1.273 GB, free: 5.73 MB / 0.9981 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 3.106e-05/0.764, allocations: 120.1 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-06/0.764, allocations: 1.406 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/0.764, allocations: 7.062 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.764, allocations: 0.75 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.764, allocations: 1.469 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.764, allocations: 0 / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.599e-05/0.7641, allocations: 144.8 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.7641, allocations: 0.8125 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.7641, allocations: 9.516 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7641, allocations: 1.078 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.7641, allocations: 8.625 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7641, allocations: 0.625 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7641, allocations: 0 / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.006e-05/0.7641, allocations: 57.27 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.7641, allocations: 77.77 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.7641, allocations: 5.453 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-06/0.7641, allocations: 0.7812 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.7641, allocations: 9.484 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.82e-07/0.7641, allocations: 0 / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.797e-06/0.7642, allocations: 75.97 kB / 1.274 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7642, allocations: 0 / 1.274 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001599/0.7643, allocations: 1.969 kB / 1.274 GB, free: 5.148 MB / 0.9981 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.0002018/0.7645, allocations: 0.6019 MB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.558e-05/0.7646, allocations: 7.562 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7646, allocations: 3.938 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.7646, allocations: 5.719 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.7647, allocations: 3.812 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.7649, allocations: 114.1 kB / 1.275 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.765, allocations: 0.671 MB / 1.275 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.656e-06/0.765, allocations: 5.484 kB / 1.275 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.765, allocations: 8.156 kB / 1.275 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.765, allocations: 0 / 1.275 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.7876, allocations: 0.8828 MB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.668, allocations: 13.5 kB / 1.276 GB, free: 3.344 MB / 0.9981 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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: 13.086335412001063]