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.0007793/0.0007793, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007978/0.0007978, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9082/0.9082, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.346e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001112/0.001125, allocations: 0.5907 MB / 0.9816 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 3.537e-05/0.001161, allocations: 8 kB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.001175, allocations: 0 / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.0012, allocations: 0 / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.382e-05/0.001224, allocations: 0 / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.657e-05/0.001251, allocations: 0 / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.001299, allocations: 3.984 kB / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.001339, allocations: 4 kB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.001373, allocations: 0 / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.672e-05/0.00139, allocations: 0 / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.001405, allocations: 0 / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-06/0.001409, allocations: 0 / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.00142, allocations: 4 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.001436, allocations: 0 / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.229e-05/0.001489, allocations: 7.984 kB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.00149, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001491, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.001494, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 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.0001915/0.001686, allocations: 242.4 kB / 0.9818 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.001723, allocations: 11.97 kB / 0.9819 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.51e-05/0.001748, allocations: 30.75 kB / 0.9819 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.703e-05/0.001765, allocations: 0.9375 kB / 0.9819 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.318e-05/0.001818, allocations: 109.7 kB / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.001827, allocations: 4.375 kB / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.001833, allocations: 384 / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/0.0019, allocations: 26.27 kB / 0.982 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.001907, allocations: 4.188 kB / 0.982 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.001913, allocations: 384 / 0.982 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.001918, allocations: 4.125 kB / 0.982 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.001933, allocations: 4 kB / 0.982 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.409e-05/0.002027, allocations: 124.8 kB / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.403e-05/0.002061, allocations: 18.52 kB / 0.9822 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.002079, allocations: 12.92 kB / 0.9822 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.002086, allocations: 0 / 0.9822 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.002103, allocations: 38.5 kB / 0.9822 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 4.51e-07/0.002104, allocations: 0 / 0.9822 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 9.508e-05/0.002199, allocations: 33.69 kB / 0.9822 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.002227, allocations: 59.34 kB / 0.9823 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.28e-05/0.00225, allocations: 89.86 kB / 0.9824 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.00226, allocations: 29.69 kB / 0.9824 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.002277, allocations: 80.14 kB / 0.9825 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.002306, allocations: 3.938 kB / 0.9825 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.002326, allocations: 17.84 kB / 0.9825 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.002393, allocations: 314.8 kB / 0.9828 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-06/0.002401, allocations: 0 / 0.9828 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-06/0.002404, allocations: 0 / 0.9828 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.002425, allocations: 8.859 kB / 0.9828 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.002426, allocations: 0 / 0.9828 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.833e-05/0.002455, allocations: 29.7 kB / 0.9829 GB, free: 468 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.002467, allocations: 8 kB / 0.9829 GB, free: 460 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.002472, allocations: 3.984 kB / 0.9829 GB, free: 456 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.002483, allocations: 4.094 kB / 0.9829 GB, free: 452 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.00253, allocations: 0 / 0.9829 GB, free: 452 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.002536, allocations: 7.875 kB / 0.9829 GB, free: 444 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.002545, allocations: 8 kB / 0.9829 GB, free: 436 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.002549, allocations: 3.938 kB / 0.9829 GB, free: 432 kB / 0.9323 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 4.355e-05/0.002592, allocations: 105.8 kB / 0.983 GB, free: 316 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-06/0.002595, allocations: 0 / 0.983 GB, free: 316 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.232e-05/0.002607, allocations: 3 kB / 0.983 GB, free: 312 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.002608, allocations: 0 / 0.983 GB, free: 312 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.002614, allocations: 7.938 kB / 0.983 GB, free: 304 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.002616, allocations: 0 / 0.983 GB, free: 304 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.834e-05/0.002664, allocations: 120.8 kB / 0.9831 GB, free: 140 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.002665, allocations: 0 / 0.9831 GB, free: 140 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-06/0.002669, allocations: 4 kB / 0.9831 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.002669, allocations: 0 / 0.9831 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.002674, allocations: 0 / 0.9831 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.002674, allocations: 0 / 0.9831 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.002676, allocations: 3.938 kB / 0.9831 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.904e-05/0.002716, allocations: 61.12 kB / 0.9832 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.002719, allocations: 0 / 0.9832 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.683e-06/0.002726, allocations: 3.938 kB / 0.9832 GB, free: 48 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-06/0.002729, allocations: 4.031 kB / 0.9832 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.00274, allocations: 3.938 kB / 0.9832 GB, free: 40 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.002741, allocations: 8 kB / 0.9832 GB, free: 32 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.00277, allocations: 75.28 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00277, allocations: 3.938 kB / 0.9833 GB, free: 15.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000113/0.002883, allocations: 0 / 0.9833 GB, free: 15.95 MB / 0.948 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.0001894/0.003072, allocations: 0.5891 MB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.115e-05/0.003123, allocations: 7.938 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.003125, allocations: 4.094 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.003127, allocations: 0 / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.501e-05/0.003222, allocations: 7.875 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.00346, allocations: 114.5 kB / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.003491, allocations: 51.36 kB / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.498e-06/0.0035, allocations: 0 / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.003517, allocations: 8.5 kB / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.003518, allocations: 4 kB / 0.984 GB, free: 15.08 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.01722, allocations: 1.54 MB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/6.733, allocations: 8 kB / 0.9856 GB, free: 13.67 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.889352397061884]