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.001497/0.001497, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001558/0.001558, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.875/1.875, allocations: 359 MB / 0.6052 GB, free: 11.02 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.558e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001838/0.001874, allocations: 0.5908 MB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.542e-05/0.001919, allocations: 5.031 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.001933, allocations: 0 / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.001958, allocations: 0 / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.02e-05/0.001978, allocations: 0.75 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.516e-05/0.002003, allocations: 4 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.111e-05/0.002044, allocations: 4.859 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.002076, allocations: 4 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.002099, allocations: 0.625 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.196e-05/0.002111, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.002119, allocations: 5.391 kB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-06/0.002122, allocations: 3.938 kB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.002128, allocations: 0 / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.002144, allocations: 0 / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.993e-05/0.002204, allocations: 1.125 kB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002206, allocations: 4 kB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.12e-07/0.002206, allocations: 0 / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.002212, allocations: 1.062 kB / 0.7877 GB, free: 11.84 MB / 0.7448 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.0002973/0.002509, allocations: 344.4 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.002554, allocations: 9.25 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.00259, allocations: 0.9375 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.295e-05/0.002663, allocations: 104.6 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.002679, allocations: 8.312 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.002692, allocations: 1.625 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.002783, allocations: 26.27 kB / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.002795, allocations: 192 / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.002803, allocations: 1.938 kB / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.002812, allocations: 384 / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.656e-05/0.002828, allocations: 11.88 kB / 0.7882 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.002953, allocations: 108.6 kB / 0.7883 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.003001, allocations: 36.11 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.00303, allocations: 7.688 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.003038, allocations: 1.594 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.003067, allocations: 37.45 kB / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.003068, allocations: 0 / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.00321, allocations: 35.05 kB / 0.7885 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.003244, allocations: 51.41 kB / 0.7885 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.003304, allocations: 142.2 kB / 0.7886 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.003317, allocations: 25.7 kB / 0.7887 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.003362, allocations: 133.7 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.00339, allocations: 4 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.003421, allocations: 19.36 kB / 0.7888 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.003574, allocations: 496.1 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.003587, allocations: 4 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.003594, allocations: 0 / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.003628, allocations: 8.406 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.003631, allocations: 4 kB / 0.7893 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.286e-05/0.003694, allocations: 39.3 kB / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.00371, allocations: 4 kB / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.003715, allocations: 0 / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.003734, allocations: 0 / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.003793, allocations: 5.219 kB / 0.7893 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.0038, allocations: 3.984 kB / 0.7893 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.003813, allocations: 3.938 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.003819, allocations: 1.75 kB / 0.7894 GB, free: 10 MB / 0.7448 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.213e-05/0.003901, allocations: 152.6 kB / 0.7895 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-06/0.003906, allocations: 4.344 kB / 0.7895 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.003931, allocations: 3 kB / 0.7895 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.003934, allocations: 5.125 kB / 0.7895 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.003938, allocations: 0 / 0.7895 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.003941, allocations: 0 / 0.7895 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.728e-05/0.004018, allocations: 108.6 kB / 0.7896 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.00402, allocations: 5.688 kB / 0.7896 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.004035, allocations: 3.984 kB / 0.7896 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.004037, allocations: 0 / 0.7896 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.004043, allocations: 0 / 0.7896 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.004045, allocations: 1.812 kB / 0.7896 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004046, allocations: 0 / 0.7896 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.213e-05/0.004128, allocations: 80.28 kB / 0.7897 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.004134, allocations: 3.984 kB / 0.7897 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.004147, allocations: 4.781 kB / 0.7897 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.004155, allocations: 3.984 kB / 0.7897 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.004176, allocations: 0.5312 kB / 0.7897 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.004178, allocations: 0 / 0.7897 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.004223, allocations: 119.9 kB / 0.7898 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.004223, allocations: 0 / 0.7898 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002092/0.004432, allocations: 0.5312 kB / 0.7898 GB, free: 9.449 MB / 0.7448 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.0001054/0.004538, allocations: 100.5 kB / 0.7899 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.004625, allocations: 20.16 kB / 0.7899 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.004626, allocations: 0 / 0.7899 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.004638, allocations: 13.06 kB / 0.79 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.004786, allocations: 3.938 kB / 0.79 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.00505, allocations: 89.09 kB / 0.79 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.005086, allocations: 51.36 kB / 0.7901 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.101e-05/0.005097, allocations: 0 / 0.7901 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.005124, allocations: 9.312 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.005124, allocations: 0 / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of Templates: time 0.001856/0.00698, allocations: 199 kB / 0.7903 GB, free: 8.914 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.224494340829551]