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.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.001664/0.001664, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001948/0.001948, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="cs",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="cs",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.002073/0.002073, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9737/0.9757, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002159/0.9779, allocations: 0.5898 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 5.178e-05/0.978, allocations: 4.812 kB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.978, allocations: 1.125 kB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.978, allocations: 0 / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.707e-05/0.978, allocations: 0 / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.465e-05/0.9781, allocations: 0 / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.436e-05/0.9782, allocations: 2.953 kB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.9782, allocations: 1.922 kB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.9782, allocations: 4 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/0.9783, allocations: 5.062 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.9783, allocations: 0 / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-06/0.9783, allocations: 0 / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.9783, allocations: 1.094 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.9783, allocations: 0.7969 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.868e-05/0.9784, allocations: 5.906 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9784, allocations: 0 / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9784, allocations: 1.062 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.9784, allocations: 0 / 1.28 GB, free: 11.36 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.0003838/0.9788, allocations: 315 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.9788, allocations: 13 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.753e-05/0.9789, allocations: 1.406 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.9789, allocations: 31.41 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.9789, allocations: 4.938 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.979, allocations: 168.5 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.9791, allocations: 384 / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.9791, allocations: 1.125 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.9792, allocations: 32.25 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.9792, allocations: 5.094 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.9792, allocations: 0 / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.9792, allocations: 0 / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.9792, allocations: 2.188 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.9794, allocations: 145.1 kB / 1.28 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.9794, allocations: 23.61 kB / 1.28 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.9795, allocations: 7.812 kB / 1.28 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.9795, allocations: 5.156 kB / 1.28 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.9795, allocations: 35.47 kB / 1.28 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.9795, allocations: 0 / 1.28 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.9796, allocations: 32.3 kB / 1.28 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.9797, allocations: 55.34 kB / 1.28 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/0.9797, allocations: 94.61 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.9797, allocations: 30.73 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.9798, allocations: 80.27 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.9798, allocations: 9.047 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.9798, allocations: 11.33 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.98, allocations: 312.6 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.98, allocations: 1.125 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.98, allocations: 1.828 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.98, allocations: 11.23 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.98, allocations: 0.9375 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.487e-05/0.9801, allocations: 36.3 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9801, allocations: 9.062 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9801, allocations: 0 / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9801, allocations: 0.8125 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.9802, allocations: 6.203 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9802, allocations: 0 / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-06/0.9802, allocations: 5 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.9802, allocations: 0.7969 kB / 1.281 GB, free: 9.734 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 7.56e-05/0.9803, allocations: 109.8 kB / 1.281 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.9803, allocations: 9.484 kB / 1.281 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.9803, allocations: 3.125 kB / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9803, allocations: 1.547 kB / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.9803, allocations: 0 / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9803, allocations: 0.75 kB / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.9804, allocations: 148.5 kB / 1.281 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.9804, allocations: 0.75 kB / 1.281 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.9804, allocations: 6.812 kB / 1.281 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.9804, allocations: 7.938 kB / 1.281 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.9805, allocations: 0 / 1.281 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.9805, allocations: 5.125 kB / 1.281 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9805, allocations: 5.391 kB / 1.281 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.137e-05/0.9805, allocations: 60.31 kB / 1.281 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.9806, allocations: 78.42 kB / 1.281 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.9806, allocations: 5 kB / 1.281 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.9806, allocations: 0.5625 kB / 1.281 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.9806, allocations: 1.125 kB / 1.281 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.9806, allocations: 4.734 kB / 1.281 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.9807, allocations: 76.41 kB / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9807, allocations: 0 / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001926/0.9809, allocations: 1.375 kB / 1.282 GB, free: 9.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.0004419/0.9813, allocations: 0.5999 MB / 1.282 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.9814, allocations: 12.58 kB / 1.282 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9814, allocations: 0 / 1.282 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.9814, allocations: 2.375 kB / 1.282 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.9815, allocations: 1.547 kB / 1.282 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.9819, allocations: 111.6 kB / 1.282 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.9822, allocations: 0.6752 MB / 1.283 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.265e-05/0.9822, allocations: 0.75 kB / 1.283 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.9822, allocations: 12.66 kB / 1.283 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.9822, allocations: 0 / 1.283 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/1.001, allocations: 0.9579 MB / 1.284 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/9.304, allocations: 4.219 kB / 1.284 GB, free: 7.336 MB / 0.9981 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/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: 15.674683883960824]