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.001399/0.001399, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001113/0.001113, allocations: 160.8 kB / 24.87 MB, free: 8.875 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 0.9968/0.9968, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.926/1.926, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 177] 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 2.605e-06/2.605e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.078e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002187/0.002218, allocations: 0.601 MB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.281e-05/0.002271, allocations: 192 / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.002292, allocations: 3.938 kB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.002323, allocations: 0 / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.002355, allocations: 0.5938 kB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.312e-05/0.002388, allocations: 0.8438 kB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.002454, allocations: 8 kB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.002505, allocations: 1.062 kB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.00254, allocations: 0 / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.289e-05/0.002563, allocations: 0 / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.002574, allocations: 1.062 kB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.002579, allocations: 0 / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.002592, allocations: 4 kB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.002609, allocations: 4.547 kB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.832e-05/0.002667, allocations: 0 / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.00267, allocations: 0.6875 kB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002671, allocations: 0 / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.002676, allocations: 0.9062 kB / 0.789 GB, free: 11.54 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.0002719/0.002948, allocations: 340.4 kB / 0.7893 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.002997, allocations: 8.688 kB / 0.7893 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.003026, allocations: 4.938 kB / 0.7893 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.003108, allocations: 108.2 kB / 0.7894 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.003129, allocations: 4.375 kB / 0.7894 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.003136, allocations: 384 / 0.7894 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.003215, allocations: 34.2 kB / 0.7895 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.003223, allocations: 4.125 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.003231, allocations: 4.359 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.003239, allocations: 4.359 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.082e-05/0.00325, allocations: 3.938 kB / 0.7895 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.003354, allocations: 93.27 kB / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.003398, allocations: 23.78 kB / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.00342, allocations: 13.44 kB / 0.7896 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.003426, allocations: 0 / 0.7896 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.003451, allocations: 37.33 kB / 0.7896 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.003453, allocations: 0 / 0.7896 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000103/0.003556, allocations: 35.05 kB / 0.7897 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.003589, allocations: 51.41 kB / 0.7897 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.003643, allocations: 150.2 kB / 0.7899 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.003656, allocations: 27.3 kB / 0.7899 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.003692, allocations: 126.9 kB / 0.79 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.003722, allocations: 0 / 0.79 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.003753, allocations: 15.38 kB / 0.79 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.003902, allocations: 0.4931 MB / 0.7905 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.003912, allocations: 0 / 0.7905 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-06/0.00392, allocations: 5.625 kB / 0.7905 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.003954, allocations: 11.69 kB / 0.7905 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003955, allocations: 0 / 0.7905 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.427e-05/0.00402, allocations: 30.33 kB / 0.7905 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.004035, allocations: 4 kB / 0.7905 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.004042, allocations: 4.672 kB / 0.7906 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.004053, allocations: 0 / 0.7906 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.0041, allocations: 4.625 kB / 0.7906 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.004103, allocations: 0 / 0.7906 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.004114, allocations: 1.062 kB / 0.7906 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.004117, allocations: 0 / 0.7906 GB, free: 9.742 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.297e-05/0.0042, allocations: 165 kB / 0.7907 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.00421, allocations: 9.594 kB / 0.7907 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.004228, allocations: 3 kB / 0.7907 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00423, allocations: 0 / 0.7907 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.004232, allocations: 0 / 0.7907 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004235, allocations: 1.125 kB / 0.7907 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.394e-05/0.004309, allocations: 105.1 kB / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.004311, allocations: 0 / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.004325, allocations: 0.5 kB / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004327, allocations: 0.875 kB / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.004331, allocations: 0 / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.004332, allocations: 0 / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.004333, allocations: 4.906 kB / 0.7908 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.004412, allocations: 68.34 kB / 0.7909 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.004421, allocations: 5.031 kB / 0.7909 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.004429, allocations: 3.984 kB / 0.7909 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.004436, allocations: 1.219 kB / 0.7909 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.004448, allocations: 0 / 0.7909 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.004452, allocations: 4 kB / 0.7909 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.004489, allocations: 123.1 kB / 0.791 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.004489, allocations: 0.8438 kB / 0.791 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000211/0.0047, allocations: 4 kB / 0.791 GB, free: 9.195 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.0001171/0.004818, allocations: 93.47 kB / 0.7911 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.00489, allocations: 11.69 kB / 0.7911 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.004892, allocations: 0 / 0.7911 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.004901, allocations: 14.62 kB / 0.7911 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.005045, allocations: 5.484 kB / 0.7912 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.005267, allocations: 87.94 kB / 0.7912 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.005302, allocations: 51.36 kB / 0.7913 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.19e-05/0.005314, allocations: 0 / 0.7913 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.005353, allocations: 74.14 kB / 0.7914 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.005354, allocations: 0 / 0.7914 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of Templates: time 0.001914/0.007268, allocations: 208.8 kB / 0.7916 GB, free: 8.602 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.221500324085355]