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.00193/0.00193, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002001/0.002001, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.058/3.058, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.924e-06/1.924e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.884e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001726/0.001755, allocations: 0.5894 MB / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.153e-05/0.001797, allocations: 6.203 kB / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.001814, allocations: 0.875 kB / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.001837, allocations: 0 / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.00187, allocations: 0 / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.893e-05/0.001909, allocations: 0 / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.001972, allocations: 5.812 kB / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.002012, allocations: 3.938 kB / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.002054, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.14e-05/0.002075, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.002087, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.002091, allocations: 1.5 kB / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.002103, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002127, allocations: 4 kB / 0.8114 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.481e-05/0.002192, allocations: 3.984 kB / 0.8114 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.002197, allocations: 4.531 kB / 0.8115 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002197, allocations: 1.312 kB / 0.8115 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.002201, allocations: 3.938 kB / 0.8115 GB, free: 1.473 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.0003801/0.002581, allocations: 336.4 kB / 0.8118 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.002624, allocations: 8.031 kB / 0.8118 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.002667, allocations: 6.094 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.002788, allocations: 112.6 kB / 0.8119 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.002801, allocations: 384 / 0.8119 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.002809, allocations: 1.75 kB / 0.8119 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.002898, allocations: 34.27 kB / 0.8119 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.002907, allocations: 192 / 0.8119 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.002914, allocations: 1.844 kB / 0.8119 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.002918, allocations: 384 / 0.8119 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.002934, allocations: 3.938 kB / 0.8119 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.003082, allocations: 108.6 kB / 0.812 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/0.003156, allocations: 28.34 kB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.003185, allocations: 11.78 kB / 0.8121 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.003196, allocations: 0 / 0.8121 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.003237, allocations: 37.92 kB / 0.8121 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003238, allocations: 1.938 kB / 0.8121 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.003386, allocations: 41.62 kB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.003432, allocations: 51.41 kB / 0.8122 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.003786, allocations: 146.2 kB / 0.8123 GB, free: 416 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.003804, allocations: 27.77 kB / 0.8124 GB, free: 384 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.003872, allocations: 126.9 kB / 0.8125 GB, free: 252 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.003901, allocations: 3.938 kB / 0.8125 GB, free: 248 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.003942, allocations: 23.38 kB / 0.8125 GB, free: 216 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000292/0.004234, allocations: 496.1 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.004243, allocations: 0 / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.00425, allocations: 4.531 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.004278, allocations: 12.2 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00428, allocations: 0.7188 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.916e-05/0.004339, allocations: 42.17 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.004357, allocations: 4.906 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.004362, allocations: 0 / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.004376, allocations: 0 / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.004427, allocations: 4.781 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.004433, allocations: 0 / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.004445, allocations: 5.062 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.00445, allocations: 0 / 0.8131 GB, free: 15.64 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 0.0001175/0.004568, allocations: 153.4 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.004576, allocations: 4 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.004602, allocations: 10.97 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004603, allocations: 1.438 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.004607, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004609, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.004711, allocations: 108.6 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.004715, allocations: 5.094 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.004724, allocations: 0 / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.004725, allocations: 0 / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.00473, allocations: 1.969 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.004731, allocations: 0 / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.004735, allocations: 4 kB / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.004843, allocations: 80.31 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.004847, allocations: 2.375 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.00486, allocations: 4 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-06/0.004866, allocations: 0 / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.004883, allocations: 0 / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.004885, allocations: 3.938 kB / 0.8134 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.00496, allocations: 119.2 kB / 0.8135 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00496, allocations: 0 / 0.8135 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001851/0.005145, allocations: 1.031 kB / 0.8135 GB, free: 15.09 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 0.0001302/0.005275, allocations: 104.3 kB / 0.8136 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.005356, allocations: 15.69 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005358, allocations: 0.9688 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.005379, allocations: 15.62 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.005511, allocations: 3.281 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.005777, allocations: 84.09 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.126e-05/0.005839, allocations: 63.2 kB / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.148e-05/0.00585, allocations: 0 / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.005877, allocations: 9.094 kB / 0.8138 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.005877, allocations: 1.344 kB / 0.8138 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002487/0.008364, allocations: 196.7 kB / 0.814 GB, free: 14.55 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.038676670985296]