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.001437/0.001437, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001826/0.001826, allocations: 169 kB / 24.28 MB, free: 276 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 0.9374/0.9374, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.903/1.903, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] 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: 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 3.257e-06/3.257e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.605e-05, allocations: 3.312 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001231/0.001267, allocations: 0.5998 MB / 0.8122 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.217e-05/0.001319, allocations: 4.969 kB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.001338, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.001367, allocations: 1.688 kB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.197e-05/0.001399, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.678e-05/0.001436, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.001489, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.001535, allocations: 9.516 kB / 0.8122 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.001572, allocations: 3.984 kB / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/0.001595, allocations: 4 kB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.001614, allocations: 0 / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-06/0.001618, allocations: 0 / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.001631, allocations: 0.5 kB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.001649, allocations: 0.9062 kB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.001715, allocations: 3.984 kB / 0.8122 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001718, allocations: 4.625 kB / 0.8122 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001718, allocations: 0 / 0.8122 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.001722, allocations: 1.594 kB / 0.8122 GB, free: 1.414 MB / 0.7605 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.0002582/0.00198, allocations: 336.4 kB / 0.8125 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.002021, allocations: 11.97 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.002052, allocations: 0.9375 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.388e-05/0.002116, allocations: 115.1 kB / 0.8126 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.002127, allocations: 8.375 kB / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.002135, allocations: 384 / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.002208, allocations: 26.27 kB / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.002213, allocations: 192 / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.002221, allocations: 384 / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.002229, allocations: 4.375 kB / 0.8127 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.285e-05/0.002242, allocations: 4.469 kB / 0.8127 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.776e-05/0.00234, allocations: 105.4 kB / 0.8128 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.019e-05/0.00238, allocations: 31.03 kB / 0.8128 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.002401, allocations: 8.219 kB / 0.8128 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.002408, allocations: 1.625 kB / 0.8128 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.002432, allocations: 45.44 kB / 0.8129 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.002433, allocations: 0 / 0.8129 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.00255, allocations: 30.3 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.002583, allocations: 55.34 kB / 0.8129 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.353e-05/0.002627, allocations: 142.9 kB / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.002636, allocations: 26.39 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.002666, allocations: 126.9 kB / 0.8132 GB, free: 196 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.002693, allocations: 5.031 kB / 0.8132 GB, free: 192 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.002715, allocations: 15.38 kB / 0.8132 GB, free: 168 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.002858, allocations: 0.4883 MB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.002869, allocations: 5.375 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.002876, allocations: 3.984 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.002911, allocations: 9.438 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.002913, allocations: 4 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.11e-05/0.002954, allocations: 33.64 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.002968, allocations: 4 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.002974, allocations: 1.219 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.002985, allocations: 0 / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.003036, allocations: 4 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.003042, allocations: 0 / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.003051, allocations: 5.125 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.003054, allocations: 0 / 0.8138 GB, free: 15.59 MB / 0.7761 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.182e-05/0.003136, allocations: 166.8 kB / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-06/0.00314, allocations: 0 / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.003165, allocations: 6.938 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.003166, allocations: 0 / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.003173, allocations: 0 / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.003176, allocations: 0 / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.611e-05/0.003242, allocations: 119.5 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.003244, allocations: 4 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.00325, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.003252, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.003257, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.003258, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.003259, allocations: 3.984 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.818e-05/0.003317, allocations: 77.77 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.003322, allocations: 0 / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-06/0.003332, allocations: 4 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-06/0.003335, allocations: 0 / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.003345, allocations: 0.625 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-07/0.003346, allocations: 0 / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.003379, allocations: 119.8 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.003379, allocations: 0.5625 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001036/0.003482, allocations: 0 / 0.8143 GB, free: 15.04 MB / 0.7761 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 7.462e-05/0.003557, allocations: 107.6 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.42e-05/0.003611, allocations: 11.69 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.003612, allocations: 0 / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.003621, allocations: 16.44 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.582e-05/0.003707, allocations: 0.9375 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.003986, allocations: 88.08 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.004022, allocations: 52.02 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.147e-05/0.004033, allocations: 0 / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.004054, allocations: 9.219 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.004054, allocations: 3.875 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.001683/0.005737, allocations: 196.6 kB / 0.8147 GB, free: 14.5 MB / 0.7761 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: 5.091571120079607]