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.001721/0.001721, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002357/0.002357, allocations: 215.7 kB / 22.24 MB, free: 5.258 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.773 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.343/3.343, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.00209/0.00209, allocations: 65.53 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3502, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001724/0.352, allocations: 0.5793 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.412e-05/0.352, allocations: 7.938 kB / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.352, allocations: 0 / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.352, allocations: 0 / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.992e-05/0.3521, allocations: 0 / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.963e-05/0.3521, allocations: 0 / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.3521, allocations: 3.938 kB / 1.326 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.3522, allocations: 4 kB / 1.326 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.3522, allocations: 3.984 kB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.3522, allocations: 3.984 kB / 1.326 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.3522, allocations: 0 / 1.326 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-06/0.3522, allocations: 4 kB / 1.326 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.3523, allocations: 4 kB / 1.326 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.3523, allocations: 0 / 1.326 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.804e-05/0.3523, allocations: 4 kB / 1.326 GB, free: 1.746 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3523, allocations: 3.938 kB / 1.326 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3523, allocations: 0 / 1.326 GB, free: 1.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.3523, allocations: 0 / 1.326 GB, free: 1.742 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.0002716/0.3526, allocations: 230.8 kB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.3527, allocations: 8.031 kB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.3527, allocations: 30.75 kB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.847e-05/0.3527, allocations: 8.859 kB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.3528, allocations: 118.5 kB / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3528, allocations: 384 / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.3528, allocations: 384 / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.3529, allocations: 26.27 kB / 1.326 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3529, allocations: 7.938 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.3529, allocations: 0 / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3529, allocations: 3.938 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.353, allocations: 0 / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.3531, allocations: 120.8 kB / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.3531, allocations: 22.52 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.3532, allocations: 16.91 kB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.3532, allocations: 0 / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3532, allocations: 30.56 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3532, allocations: 0 / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001123/0.3533, allocations: 33.64 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3534, allocations: 59.75 kB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.3534, allocations: 93.86 kB / 1.326 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3534, allocations: 25.7 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.3535, allocations: 80.14 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3535, allocations: 4.078 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3535, allocations: 13.72 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3536, allocations: 318.8 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-06/0.3537, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.3537, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.3537, allocations: 12.86 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3537, allocations: 0 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.712e-05/0.3537, allocations: 29.7 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3537, allocations: 8 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3538, allocations: 3.938 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3538, allocations: 8.031 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.3538, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3538, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.3538, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3538, allocations: 7.984 kB / 1.327 GB, free: 256 kB / 1.014 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 7.34e-05/0.3539, allocations: 106.4 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-06/0.3539, allocations: 3.938 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.3539, allocations: 6.938 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3539, allocations: 3.984 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3539, allocations: 4 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3539, allocations: 4 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.354, allocations: 116.8 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.354, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.3541, allocations: 11.92 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3541, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.3541, allocations: 3.938 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3541, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3541, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.3542, allocations: 65.08 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-06/0.3542, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.3542, allocations: 7.922 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.3542, allocations: 4.031 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.3542, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.3542, allocations: 8 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.3542, allocations: 75.28 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001707/0.3544, allocations: 0 / 1.327 GB, free: 15.76 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.0003954/0.3548, allocations: 0.5929 MB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.155e-05/0.3549, allocations: 3.938 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3549, allocations: 8.094 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.3549, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.355, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.3553, allocations: 111.4 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.3554, allocations: 59.34 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.908e-06/0.3554, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.3554, allocations: 7.438 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3554, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.3843, allocations: 1.395 MB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.75, allocations: 12.25 kB / 1.33 GB, free: 13.62 MB / 1.029 GB " [Timeout remaining time 288] (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.858180571813136]