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.0008405/0.0008405, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009351/0.0009351, allocations: 169.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.9141/0.9141, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.648/1.648, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 2.585e-06/2.585e-06, allocations: 0 / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.268e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001163/0.001186, allocations: 0.5923 MB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.409e-05/0.00123, allocations: 4 kB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.001247, allocations: 0 / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.001273, allocations: 0 / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.001301, allocations: 3.984 kB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.961e-05/0.00133, allocations: 4 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.001384, allocations: 3.938 kB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.001429, allocations: 4 kB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.001459, allocations: 3.938 kB / 0.9511 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.001477, allocations: 4 kB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.001494, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-06/0.001497, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.001509, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.001529, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.311e-05/0.001582, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.001584, allocations: 4 kB / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.42e-07/0.001585, allocations: 0 / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.001588, allocations: 0 / 0.9511 GB, free: 2.816 MB / 0.9011 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.0002024/0.00179, allocations: 238.5 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.001826, allocations: 8.031 kB / 0.9514 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.001853, allocations: 34.75 kB / 0.9514 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.753e-05/0.00187, allocations: 0.9375 kB / 0.9514 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.12e-05/0.001921, allocations: 109.7 kB / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.00193, allocations: 384 / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.001936, allocations: 384 / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.002007, allocations: 26.27 kB / 0.9515 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.002014, allocations: 192 / 0.9515 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.002021, allocations: 4.375 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.002028, allocations: 4.125 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.002045, allocations: 7.922 kB / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.231e-05/0.002138, allocations: 120.7 kB / 0.9517 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.002172, allocations: 22.61 kB / 0.9517 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.002189, allocations: 4.922 kB / 0.9517 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.002196, allocations: 4 kB / 0.9517 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.002213, allocations: 30.56 kB / 0.9517 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.002214, allocations: 0 / 0.9517 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 9.89e-05/0.002313, allocations: 45.56 kB / 0.9518 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.00234, allocations: 55.34 kB / 0.9518 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.399e-05/0.002364, allocations: 89.86 kB / 0.9519 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.002372, allocations: 29.7 kB / 0.9519 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.585e-05/0.002388, allocations: 84.27 kB / 0.952 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.002411, allocations: 0 / 0.952 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.002429, allocations: 9.719 kB / 0.952 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003212/0.002751, allocations: 318.8 kB / 0.9523 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.002762, allocations: 0 / 0.9523 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.002768, allocations: 0 / 0.9523 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.002791, allocations: 8.859 kB / 0.9523 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.002793, allocations: 0 / 0.9523 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.815e-05/0.002831, allocations: 37.62 kB / 0.9524 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.002843, allocations: 12.09 kB / 0.9524 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.00285, allocations: 4 kB / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.002861, allocations: 0 / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/0.002913, allocations: 0 / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.002918, allocations: 3.938 kB / 0.9524 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-06/0.002926, allocations: 0 / 0.9524 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.002931, allocations: 4 kB / 0.9524 GB, free: 1.328 MB / 0.9011 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.838e-05/0.002979, allocations: 109.8 kB / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-06/0.002982, allocations: 0 / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.309e-05/0.002995, allocations: 3 kB / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.002996, allocations: 0 / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.003001, allocations: 7.938 kB / 0.9525 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.003004, allocations: 4 kB / 0.9525 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.243e-05/0.003057, allocations: 120.7 kB / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.003057, allocations: 0 / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.003062, allocations: 3.938 kB / 0.9526 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.003064, allocations: 4 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.00307, allocations: 0 / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.00307, allocations: 0 / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.003074, allocations: 7.922 kB / 0.9527 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.339e-05/0.003117, allocations: 65.06 kB / 0.9527 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.003121, allocations: 4.031 kB / 0.9527 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-06/0.003128, allocations: 0 / 0.9527 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-06/0.003131, allocations: 3.938 kB / 0.9527 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.003142, allocations: 3.938 kB / 0.9527 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-07/0.003142, allocations: 0 / 0.9527 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.762e-05/0.00316, allocations: 79.28 kB / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.00316, allocations: 0 / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001058/0.003266, allocations: 0 / 0.9528 GB, free: 0.8516 MB / 0.9011 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.0002129/0.003479, allocations: 0.589 MB / 0.9534 GB, free: 236 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.607e-05/0.003535, allocations: 8 kB / 0.9534 GB, free: 228 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.003536, allocations: 0 / 0.9534 GB, free: 228 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.003539, allocations: 4 kB / 0.9534 GB, free: 224 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.244e-05/0.003631, allocations: 6.281 kB / 0.9534 GB, free: 220 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.003883, allocations: 110.5 kB / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.003928, allocations: 55.36 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.042e-05/0.003938, allocations: 3.938 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.003958, allocations: 8.5 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.003958, allocations: 128 / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.0178, allocations: 1.553 MB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.712, allocations: 2.625 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.751801536418498]