Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008532/0.0008532, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 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.0009045/0.0009045, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8738/0.8738, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.382e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001408/0.001432, allocations: 0.5717 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.054e-05/0.001473, allocations: 3.984 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.00149, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.001517, allocations: 4 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.557e-05/0.001542, allocations: 3.938 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-05/0.001574, allocations: 7.984 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.001626, allocations: 3.938 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.001668, allocations: 7.938 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.0017, allocations: 4 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.678e-05/0.001717, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.001733, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-06/0.001738, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.001749, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.001765, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.157e-05/0.001817, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.001818, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.001819, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.001823, allocations: 4 kB / 1 GB, free: 12.82 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.0002/0.002023, allocations: 238.4 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.002061, allocations: 16.78 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.002086, allocations: 30.75 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.678e-05/0.002103, allocations: 0.9375 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.7e-05/0.00216, allocations: 101.8 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.002171, allocations: 8.375 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.002178, allocations: 384 / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.366e-05/0.002252, allocations: 26.27 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.002258, allocations: 4.125 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.002265, allocations: 384 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.002271, allocations: 4.125 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.002289, allocations: 8 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.564e-05/0.002385, allocations: 120.8 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.002421, allocations: 18.61 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.002439, allocations: 4.859 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.002446, allocations: 3.938 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.002463, allocations: 34.62 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.002464, allocations: 0 / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001019/0.002566, allocations: 37.64 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.002595, allocations: 59.33 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.548e-05/0.002621, allocations: 93.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.00263, allocations: 25.7 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.002649, allocations: 84.14 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.002674, allocations: 0 / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.002694, allocations: 9.719 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.002769, allocations: 310.8 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.002778, allocations: 8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.002782, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.002806, allocations: 12.8 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.002807, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.283e-05/0.00284, allocations: 41.7 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.002853, allocations: 7.938 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.002858, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.002869, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.002917, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.002924, allocations: 3.938 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-06/0.002931, allocations: 0 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.002935, allocations: 0 / 1.002 GB, free: 11.33 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 5.409e-05/0.002989, allocations: 113.8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-06/0.002992, allocations: 0 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.003008, allocations: 11.02 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.003008, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.003013, allocations: 3.938 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.003015, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.221e-05/0.003068, allocations: 120.8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003068, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-06/0.003074, allocations: 3.938 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.003074, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.003079, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.00308, allocations: 4 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.003081, allocations: 3.938 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.438e-05/0.003126, allocations: 65.06 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-06/0.003131, allocations: 4 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.003139, allocations: 4 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-06/0.003143, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.003157, allocations: 3.938 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.003159, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.934e-05/0.003178, allocations: 75.28 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003178, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001088/0.003287, allocations: 4 kB / 1.002 GB, free: 10.85 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.000201/0.003488, allocations: 0.5929 MB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.003546, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.003548, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.003551, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.114e-05/0.003642, allocations: 3.938 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.003895, allocations: 118.4 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.003925, allocations: 55.36 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.001e-05/0.003935, allocations: 0 / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.003954, allocations: 12.66 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.003955, allocations: 0 / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.01715, allocations: 1.54 MB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.738, allocations: 8.453 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.851360681466758]