Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00122/0.00122, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001368/0.001368, allocations: 169 kB / 23.27 MB, free: 1.227 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.9929/0.9929, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.415/2.415, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.534e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0009957/0.001011, allocations: 0.5957 MB / 0.8904 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 4.334e-05/0.001054, allocations: 4.188 kB / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.001071, allocations: 0 / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.001095, allocations: 4 kB / 0.8904 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.479e-05/0.001119, allocations: 4 kB / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.845e-05/0.001148, allocations: 0 / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.945e-05/0.001187, allocations: 0 / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.001223, allocations: 7.922 kB / 0.8904 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.001255, allocations: 4 kB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.001275, allocations: 3.984 kB / 0.8904 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.001285, allocations: 3.938 kB / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-06/0.001288, allocations: 0 / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.001299, allocations: 0 / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.001312, allocations: 0 / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.69e-05/0.001359, allocations: 4 kB / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.001361, allocations: 0 / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.4e-07/0.001361, allocations: 0 / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.001365, allocations: 0 / 0.8904 GB, free: 9.066 MB / 0.8542 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.0001964/0.001561, allocations: 348.4 kB / 0.8907 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.001598, allocations: 12.66 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.001616, allocations: 5.281 kB / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.438e-05/0.00166, allocations: 104.6 kB / 0.8909 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.001669, allocations: 384 / 0.8909 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-06/0.001673, allocations: 4.375 kB / 0.8909 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.895e-05/0.001722, allocations: 30.27 kB / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.001727, allocations: 192 / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-06/0.001732, allocations: 384 / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.001736, allocations: 384 / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-06/0.001745, allocations: 11.88 kB / 0.8909 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.782e-05/0.001812, allocations: 89.27 kB / 0.891 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.803e-05/0.001841, allocations: 27.09 kB / 0.891 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.001856, allocations: 15.67 kB / 0.891 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-06/0.001861, allocations: 0 / 0.891 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.001878, allocations: 37.45 kB / 0.8911 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.001879, allocations: 4 kB / 0.8911 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 7.31e-05/0.001952, allocations: 37.59 kB / 0.8911 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.001977, allocations: 51.41 kB / 0.8912 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.455e-05/0.002011, allocations: 146.2 kB / 0.8913 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.002019, allocations: 25.7 kB / 0.8913 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.002044, allocations: 126.9 kB / 0.8914 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.00207, allocations: 7.984 kB / 0.8914 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.002091, allocations: 19.38 kB / 0.8915 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.002196, allocations: 0.4883 MB / 0.8919 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-06/0.002201, allocations: 0 / 0.8919 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.002207, allocations: 8.125 kB / 0.8919 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.934e-05/0.002226, allocations: 11.69 kB / 0.892 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.002228, allocations: 0 / 0.892 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.271e-05/0.002261, allocations: 33.64 kB / 0.892 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.002272, allocations: 8 kB / 0.892 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.002276, allocations: 0 / 0.892 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.002285, allocations: 0 / 0.892 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.002322, allocations: 0 / 0.892 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.002324, allocations: 0 / 0.892 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-06/0.002332, allocations: 8.094 kB / 0.892 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.002335, allocations: 0 / 0.892 GB, free: 7.234 MB / 0.8542 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 5.439e-05/0.00239, allocations: 160.5 kB / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-06/0.002392, allocations: 0 / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.002407, allocations: 3 kB / 0.8922 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-07/0.002408, allocations: 4 kB / 0.8922 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.002409, allocations: 0 / 0.8922 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.002411, allocations: 0 / 0.8922 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.271e-05/0.002464, allocations: 93.2 kB / 0.8923 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.002465, allocations: 0 / 0.8923 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-06/0.002472, allocations: 4 kB / 0.8923 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.002473, allocations: 4 kB / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-06/0.002476, allocations: 0 / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.002477, allocations: 3.984 kB / 0.8923 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.00248, allocations: 7.938 kB / 0.8923 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.331e-05/0.002523, allocations: 72.39 kB / 0.8923 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-06/0.002526, allocations: 0 / 0.8923 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-06/0.002533, allocations: 3.984 kB / 0.8923 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-06/0.002536, allocations: 0 / 0.8923 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-06/0.002543, allocations: 0 / 0.8923 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-07/0.002544, allocations: 7.938 kB / 0.8924 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.00257, allocations: 127.2 kB / 0.8925 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00257, allocations: 0 / 0.8925 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001032/0.002674, allocations: 0 / 0.8925 GB, free: 6.688 MB / 0.8542 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 6.401e-05/0.002738, allocations: 95.25 kB / 0.8926 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.379e-05/0.002781, allocations: 11.62 kB / 0.8926 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.002783, allocations: 0 / 0.8926 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.002788, allocations: 11.69 kB / 0.8926 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.361e-05/0.002872, allocations: 3.938 kB / 0.8926 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001655/0.003037, allocations: 96.19 kB / 0.8927 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.503e-05/0.003062, allocations: 51.36 kB / 0.8927 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.026e-05/0.003072, allocations: 4 kB / 0.8927 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.003101, allocations: 66.2 kB / 0.8928 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of SimCode: time 3.6e-07/0.003102, allocations: 0 / 0.8928 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of Templates: time 0.001334/0.004435, allocations: 204.9 kB / 0.893 GB, free: 6.082 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.192442179191858]