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.001049/0.001049, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001975/0.001975, allocations: 165 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.083/1.083, allocations: 177.1 MB / 204.6 MB, free: 5.008 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.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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.275e-06/2.275e-06, allocations: 0 / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.677e-05, allocations: 6.25 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.005454/0.005481, allocations: 0.6424 MB / 0.7607 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 7.309e-05/0.005554, allocations: 4.547 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.005576, allocations: 0.9688 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.005607, allocations: 3.938 kB / 0.7607 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.005649, allocations: 0 / 0.7607 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.643e-05/0.005696, allocations: 5.906 kB / 0.7608 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.005763, allocations: 0 / 0.7608 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.00582, allocations: 4.547 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.005866, allocations: 1.25 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.005898, allocations: 0 / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.005915, allocations: 0.6562 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-06/0.00592, allocations: 0 / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.87e-05/0.005939, allocations: 4.703 kB / 0.7608 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.00596, allocations: 3.984 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.006049, allocations: 5.203 kB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.006055, allocations: 1.656 kB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/0.006057, allocations: 0 / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.006063, allocations: 1.203 kB / 0.7608 GB, free: 5.891 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.000263/0.006326, allocations: 204.8 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.006373, allocations: 8.031 kB / 0.761 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.0064, allocations: 1.875 kB / 0.761 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.006481, allocations: 109.8 kB / 0.7611 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.006492, allocations: 1.125 kB / 0.7611 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.006499, allocations: 384 / 0.7611 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.006597, allocations: 42.95 kB / 0.7611 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.006606, allocations: 192 / 0.7611 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.006613, allocations: 1.125 kB / 0.7611 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.00662, allocations: 384 / 0.7611 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.036e-05/0.00663, allocations: 7 kB / 0.7611 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.797e-05/0.006718, allocations: 57.05 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.006761, allocations: 14.58 kB / 0.7612 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.006782, allocations: 8.953 kB / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.006789, allocations: 0 / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.006819, allocations: 39.95 kB / 0.7612 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.00682, allocations: 0 / 0.7612 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000102/0.006922, allocations: 29.7 kB / 0.7613 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.006957, allocations: 54.31 kB / 0.7613 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.799e-05/0.006995, allocations: 89.86 kB / 0.7614 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.007007, allocations: 29.7 kB / 0.7614 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.007036, allocations: 88.12 kB / 0.7615 GB, free: 5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.007068, allocations: 0 / 0.7615 GB, free: 5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.007096, allocations: 12.75 kB / 0.7615 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.007201, allocations: 318.8 kB / 0.7618 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.00721, allocations: 0 / 0.7618 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.007216, allocations: 0 / 0.7618 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.007249, allocations: 16.78 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007252, allocations: 1.203 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.764e-05/0.007309, allocations: 32.45 kB / 0.7619 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.007323, allocations: 4 kB / 0.7619 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.007328, allocations: 0 / 0.7619 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.007343, allocations: 4 kB / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.01042, allocations: 0 / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01042, allocations: 3.984 kB / 0.7619 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.01044, allocations: 0 / 0.7619 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.01044, allocations: 0 / 0.7619 GB, free: 4.598 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 7.99e-05/0.01052, allocations: 119.6 kB / 0.762 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.01053, allocations: 0 / 0.762 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.01055, allocations: 7.812 kB / 0.762 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01055, allocations: 0 / 0.762 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01055, allocations: 0.5312 kB / 0.762 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01056, allocations: 0.6562 kB / 0.762 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.25e-05/0.01062, allocations: 65.84 kB / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01062, allocations: 3.125 kB / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.01064, allocations: 0 / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01064, allocations: 0 / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.01065, allocations: 4.656 kB / 0.7621 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01065, allocations: 0 / 0.7621 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01065, allocations: 0 / 0.7621 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.366e-05/0.01073, allocations: 61.06 kB / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.01074, allocations: 4 kB / 0.7622 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.01075, allocations: 3.125 kB / 0.7622 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.01076, allocations: 4.766 kB / 0.7622 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.01077, allocations: 3.984 kB / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.01077, allocations: 0 / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.201e-05/0.01078, allocations: 12.78 kB / 0.7622 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01078, allocations: 0 / 0.7622 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001527/0.01093, allocations: 4 kB / 0.7622 GB, free: 4.273 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 0.0001199/0.01105, allocations: 76.91 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.933e-05/0.01111, allocations: 10.59 kB / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01112, allocations: 6.438 kB / 0.7623 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.01112, allocations: 8.859 kB / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.542e-05/0.01119, allocations: 7.875 kB / 0.7623 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.01142, allocations: 93.23 kB / 0.7624 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.01145, allocations: 55.36 kB / 0.7624 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.198e-05/0.01146, allocations: 2.844 kB / 0.7624 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.01149, allocations: 47.38 kB / 0.7625 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/0.0115, allocations: 3.938 kB / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.004873/0.01637, allocations: 203.2 kB / 0.7627 GB, free: 3.715 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 -s gbode -gbm=radauIIA3 -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: 5.1244104178622365]