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.001448/0.001448, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001841/0.001841, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.32 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.408e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001362/0.001387, allocations: 0.6062 MB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 5.353e-05/0.00144, allocations: 0 / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.73e-05/0.001457, allocations: 1.688 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.001484, allocations: 0 / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.001512, allocations: 1.422 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.09e-05/0.001553, allocations: 3.984 kB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.508e-05/0.001608, allocations: 0 / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.001651, allocations: 5.219 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.001688, allocations: 3.984 kB / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.001712, allocations: 0 / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.001727, allocations: 1.531 kB / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.001732, allocations: 0 / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.001744, allocations: 0.9688 kB / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.001758, allocations: 4 kB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.216e-05/0.001811, allocations: 0.6562 kB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.001814, allocations: 4.531 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.52e-07/0.001815, allocations: 0.9375 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.001818, allocations: 0 / 0.7607 GB, free: 5.93 MB / 0.7136 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.0001881/0.002006, allocations: 209.6 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.002038, allocations: 13.19 kB / 0.7609 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.002057, allocations: 4.938 kB / 0.7609 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.5e-05/0.002112, allocations: 101.8 kB / 0.761 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.002122, allocations: 2.438 kB / 0.761 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.00213, allocations: 384 / 0.761 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.231e-05/0.002192, allocations: 30.27 kB / 0.761 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.002199, allocations: 192 / 0.761 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.002205, allocations: 1.359 kB / 0.761 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.002211, allocations: 1.031 kB / 0.761 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-06/0.00222, allocations: 7.922 kB / 0.761 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.906e-05/0.002289, allocations: 58.98 kB / 0.7611 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.002329, allocations: 18.52 kB / 0.7611 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.002348, allocations: 12.94 kB / 0.7611 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.002355, allocations: 4 kB / 0.7611 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.002378, allocations: 31.78 kB / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.002379, allocations: 0 / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.919e-05/0.002478, allocations: 30.75 kB / 0.7612 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.002518, allocations: 59.34 kB / 0.7612 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.472e-05/0.002553, allocations: 90.83 kB / 0.7613 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.002562, allocations: 25.7 kB / 0.7614 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.002588, allocations: 84.72 kB / 0.7614 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.002619, allocations: 1.531 kB / 0.7614 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.00264, allocations: 14.38 kB / 0.7614 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.002722, allocations: 314.8 kB / 0.7617 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-06/0.002728, allocations: 1.031 kB / 0.7618 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.002732, allocations: 0 / 0.7618 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.002754, allocations: 9.547 kB / 0.7618 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.002756, allocations: 1.781 kB / 0.7618 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.67e-05/0.002792, allocations: 37.62 kB / 0.7618 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.002804, allocations: 8 kB / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.002808, allocations: 0 / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.00282, allocations: 1.969 kB / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.343e-05/0.002863, allocations: 0 / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.002866, allocations: 0 / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-06/0.002873, allocations: 0 / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.002878, allocations: 4.875 kB / 0.7618 GB, free: 4.637 MB / 0.7136 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.96e-05/0.002927, allocations: 116.5 kB / 0.7619 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-06/0.00293, allocations: 0 / 0.7619 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.002941, allocations: 3 kB / 0.7619 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.002942, allocations: 0 / 0.7619 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.002944, allocations: 0 / 0.7619 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.002946, allocations: 4 kB / 0.7619 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.593e-05/0.002992, allocations: 65.83 kB / 0.762 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.002993, allocations: 0.9844 kB / 0.762 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-06/0.002999, allocations: 5.688 kB / 0.762 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.003001, allocations: 7.984 kB / 0.762 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-06/0.003004, allocations: 0 / 0.762 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.003004, allocations: 0 / 0.762 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.003005, allocations: 0.9375 kB / 0.762 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.758e-05/0.003053, allocations: 64.98 kB / 0.7621 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.003057, allocations: 4.875 kB / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-06/0.003063, allocations: 0 / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-06/0.003066, allocations: 1.625 kB / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.003074, allocations: 0 / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-06/0.003075, allocations: 0 / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.234e-06/0.003083, allocations: 9.734 kB / 0.7621 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.003083, allocations: 0 / 0.7621 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 8.792e-05/0.003171, allocations: 0.5 kB / 0.7621 GB, free: 4.32 MB / 0.7136 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 8.875e-05/0.003259, allocations: 83.55 kB / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.261e-05/0.003312, allocations: 12.84 kB / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.003315, allocations: 4.875 kB / 0.7622 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.003323, allocations: 8.797 kB / 0.7622 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.816e-05/0.003381, allocations: 9.125 kB / 0.7622 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.003593, allocations: 89.06 kB / 0.7623 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.449e-05/0.003617, allocations: 51.36 kB / 0.7623 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.718e-06/0.003627, allocations: 0 / 0.7623 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.003653, allocations: 47.38 kB / 0.7624 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of SimCode: time 4e-07/0.003654, allocations: 0 / 0.7624 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of Templates: time 0.001441/0.005095, allocations: 215.3 kB / 0.7626 GB, free: 3.754 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975001038052142]