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.001272/0.001272, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001875/0.001875, allocations: 169 kB / 24.28 MB, free: 272 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.9769/0.9769, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.9/1.9, allocations: 359 MB / 0.6055 GB, free: 11.01 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 3.617e-06/3.617e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.948e-05, allocations: 9.609 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001566/0.001606, allocations: 0.6024 MB / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.381e-05/0.001649, allocations: 4.188 kB / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.001671, allocations: 2.094 kB / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.001699, allocations: 0 / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.001729, allocations: 0 / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.586e-05/0.001764, allocations: 0 / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.001822, allocations: 0 / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.001871, allocations: 4 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.001905, allocations: 0.5 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.001928, allocations: 1 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.001945, allocations: 0 / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-06/0.00195, allocations: 3.938 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.001962, allocations: 1.031 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.001981, allocations: 0 / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.002055, allocations: 8 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.002059, allocations: 5.047 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00206, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002065, allocations: 0 / 0.7878 GB, free: 12.13 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.0002795/0.002345, allocations: 338 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.002388, allocations: 8.031 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.002424, allocations: 0.9375 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.704e-05/0.002491, allocations: 112.6 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.002503, allocations: 2.281 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.00251, allocations: 384 / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.266e-05/0.002593, allocations: 34.25 kB / 0.7882 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.0026, allocations: 192 / 0.7882 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.00261, allocations: 4.375 kB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.002617, allocations: 2.688 kB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.00263, allocations: 3.938 kB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.002733, allocations: 104.6 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.002772, allocations: 31.03 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.002797, allocations: 7.688 kB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.002805, allocations: 4.688 kB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.002826, allocations: 35.05 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.002827, allocations: 0 / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.002948, allocations: 37.69 kB / 0.7885 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.00298, allocations: 51.41 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.961e-05/0.003019, allocations: 143.1 kB / 0.7886 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.003029, allocations: 25.7 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.003061, allocations: 135.5 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.003092, allocations: 0 / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.003119, allocations: 16.81 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.003246, allocations: 0.4883 MB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.00326, allocations: 7.938 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.003267, allocations: 0 / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.003307, allocations: 14.03 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.00331, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.493e-05/0.003375, allocations: 33.69 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.003392, allocations: 5.875 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.003397, allocations: 0 / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.003412, allocations: 0.7188 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.003475, allocations: 8.469 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.003482, allocations: 0 / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.003494, allocations: 5.594 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.003498, allocations: 0 / 0.7894 GB, free: 10.3 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 6.81e-05/0.003566, allocations: 156.6 kB / 0.7895 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/0.003574, allocations: 4.344 kB / 0.7895 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.003595, allocations: 3.656 kB / 0.7895 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.003596, allocations: 0 / 0.7895 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.003601, allocations: 5.297 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.003605, allocations: 0 / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.202e-05/0.003667, allocations: 112.6 kB / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.003668, allocations: 1.156 kB / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-06/0.003677, allocations: 0 / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.003678, allocations: 0 / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.003686, allocations: 5.375 kB / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.003687, allocations: 0 / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.00369, allocations: 4 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.003762, allocations: 78.02 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-06/0.003768, allocations: 3.984 kB / 0.7897 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.003779, allocations: 8 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-06/0.003785, allocations: 0 / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.003801, allocations: 0 / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.003802, allocations: 0.9062 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.003834, allocations: 119.2 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.003834, allocations: 0 / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000169/0.004003, allocations: 4.844 kB / 0.7898 GB, free: 9.742 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.004108, allocations: 100.5 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.004192, allocations: 11.69 kB / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.004194, allocations: 4.656 kB / 0.79 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.004203, allocations: 12.56 kB / 0.79 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.004334, allocations: 0 / 0.79 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.004606, allocations: 97.44 kB / 0.7901 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.004639, allocations: 51.36 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.439e-05/0.004654, allocations: 3.984 kB / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.004674, allocations: 12.5 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/0.004675, allocations: 1.031 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.001938/0.006613, allocations: 192.1 kB / 0.7903 GB, free: 9.207 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.1529542580246925]