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.001964/0.001964, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002289/0.002289, allocations: 165.9 kB / 22.45 MB, free: 5.375 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: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 3.004/3.004, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.115e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.369e-05/4.681e-05, allocations: 9.875 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001975/0.002022, allocations: 0.5865 MB / 1.001 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 5.883e-05/0.002081, allocations: 3.984 kB / 1.001 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.002108, allocations: 0 / 1.001 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.002135, allocations: 0 / 1.001 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.002165, allocations: 0 / 1.001 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-05/0.002207, allocations: 12 kB / 1.001 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.00227, allocations: 3.938 kB / 1.001 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.00232, allocations: 0 / 1.001 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.002356, allocations: 0 / 1.001 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.291e-05/0.002379, allocations: 0 / 1.001 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.002391, allocations: 4 kB / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-06/0.002395, allocations: 0 / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.002407, allocations: 0 / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.002431, allocations: 0 / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 6.199e-05/0.002493, allocations: 0 / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002495, allocations: 0 / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.32e-07/0.002496, allocations: 0 / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.0025, allocations: 4 kB / 1.001 GB, free: 6.66 MB / 0.9512 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.0003307/0.002831, allocations: 242.4 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.002873, allocations: 15.97 kB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.002908, allocations: 0.9375 kB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.003048, allocations: 101.8 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.00306, allocations: 384 / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-06/0.003068, allocations: 384 / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.003162, allocations: 30.27 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.003173, allocations: 4.172 kB / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.003181, allocations: 384 / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.003188, allocations: 8.359 kB / 1.001 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.00321, allocations: 7.875 kB / 1.001 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.003349, allocations: 97.33 kB / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.003403, allocations: 18.58 kB / 1.001 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.003426, allocations: 8.953 kB / 1.001 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.003437, allocations: 0 / 1.001 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.003473, allocations: 30.56 kB / 1.001 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.003474, allocations: 4 kB / 1.001 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.003613, allocations: 37.58 kB / 1.001 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.003675, allocations: 63.52 kB / 1.001 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.003729, allocations: 89.86 kB / 1.002 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.003747, allocations: 25.7 kB / 1.002 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.003786, allocations: 80.14 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.003814, allocations: 0 / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.00385, allocations: 13.72 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.004032, allocations: 314.8 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.004041, allocations: 0 / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.004049, allocations: 4 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.004079, allocations: 8.859 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.004081, allocations: 4.062 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.94e-05/0.004141, allocations: 41.62 kB / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.004156, allocations: 4 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00416, allocations: 0 / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.004177, allocations: 4 kB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.004236, allocations: 4 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00424, allocations: 0 / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.004258, allocations: 7.891 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.004263, allocations: 0 / 1.002 GB, free: 5.238 MB / 0.9512 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 8.662e-05/0.00435, allocations: 109.8 kB / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.004358, allocations: 8 kB / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.004381, allocations: 7 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004382, allocations: 0 / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.004386, allocations: 0 / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004388, allocations: 0 / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.499e-05/0.004473, allocations: 101.2 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004474, allocations: 0 / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.004486, allocations: 4 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.004488, allocations: 0 / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.004494, allocations: 0 / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004495, allocations: 0 / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004496, allocations: 4 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/0.004591, allocations: 65 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.004596, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.004606, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.004613, allocations: 4 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.004626, allocations: 4 kB / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.004628, allocations: 0 / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.00467, allocations: 75.28 kB / 1.002 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.00467, allocations: 0 / 1.002 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001849/0.004855, allocations: 0 / 1.002 GB, free: 4.805 MB / 0.9512 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.0001303/0.004985, allocations: 111.1 kB / 1.002 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.354e-05/0.005079, allocations: 11.94 kB / 1.002 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.00508, allocations: 0 / 1.002 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.005091, allocations: 3.984 kB / 1.002 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.005237, allocations: 4 kB / 1.002 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.005525, allocations: 84.86 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.445e-05/0.005589, allocations: 51.36 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.005602, allocations: 128 / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.005625, allocations: 16.5 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of SimCode: time 5.62e-07/0.005625, allocations: 0 / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of Templates: time 0.002517/0.008142, allocations: 176.8 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/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: 8.344238173216581]