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.001377/0.001377, 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.001363/0.001363, 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.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.83/1.83, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.645e-06/2.645e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.606e-05, allocations: 4.219 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001253/0.001279, allocations: 0.6035 MB / 0.8122 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 3.811e-05/0.001317, allocations: 4.172 kB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.001327, allocations: 4.688 kB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.001342, allocations: 0 / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.472e-05/0.001357, allocations: 0.9062 kB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 1.661e-05/0.001373, allocations: 0 / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.001416, allocations: 4.656 kB / 0.8122 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.001448, allocations: 0 / 0.8122 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.001473, allocations: 4.875 kB / 0.8122 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.642e-05/0.001489, allocations: 7.922 kB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.001501, allocations: 1.25 kB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.001505, allocations: 0 / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.001514, allocations: 0 / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.001529, allocations: 3.938 kB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 4.665e-05/0.001576, allocations: 1.625 kB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.001578, allocations: 0 / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.873e-06/0.001579, allocations: 4 kB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.001583, allocations: 0 / 0.8122 GB, free: 1.066 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.0002096/0.001793, allocations: 337.8 kB / 0.8125 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.001828, allocations: 8.031 kB / 0.8125 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.001859, allocations: 4.938 kB / 0.8125 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.609e-05/0.001915, allocations: 108.6 kB / 0.8126 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.001924, allocations: 1.156 kB / 0.8126 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.00193, allocations: 4.375 kB / 0.8126 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.794e-05/0.001998, allocations: 27.2 kB / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.002004, allocations: 192 / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.002011, allocations: 1.594 kB / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.002017, allocations: 384 / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.426e-05/0.002031, allocations: 11.88 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.002136, allocations: 105.3 kB / 0.8128 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.002173, allocations: 28.22 kB / 0.8128 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.002195, allocations: 11.69 kB / 0.8128 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.0022, allocations: 0 / 0.8128 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.002219, allocations: 42.28 kB / 0.8129 GB, free: 272 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.00222, allocations: 0 / 0.8129 GB, free: 272 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 9.576e-05/0.002316, allocations: 34.27 kB / 0.8129 GB, free: 232 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.002343, allocations: 52.59 kB / 0.8129 GB, free: 168 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.57e-05/0.002379, allocations: 142.2 kB / 0.8131 GB, free: 12 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.0024, allocations: 25.7 kB / 0.8131 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.002427, allocations: 128.7 kB / 0.8132 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.002453, allocations: 4 kB / 0.8132 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.002476, allocations: 23.31 kB / 0.8133 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.002585, allocations: 496.1 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.002594, allocations: 0 / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.002603, allocations: 9.516 kB / 0.8137 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.002631, allocations: 7.688 kB / 0.8137 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.002632, allocations: 0 / 0.8137 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.177e-05/0.002674, allocations: 42.47 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.002685, allocations: 4.562 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.002689, allocations: 0.5625 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.0027, allocations: 0 / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/0.002745, allocations: 5.406 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.00275, allocations: 3.984 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.002761, allocations: 7.938 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.002765, allocations: 0.5312 kB / 0.8138 GB, free: 15.23 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 5.472e-05/0.00282, allocations: 157.2 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.002826, allocations: 7.953 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.002841, allocations: 4.969 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.002843, allocations: 0 / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.002845, allocations: 0 / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.002848, allocations: 0 / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.856e-05/0.002896, allocations: 112.6 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.002897, allocations: 0.5625 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.002904, allocations: 4 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.002905, allocations: 0.7188 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.00291, allocations: 0 / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.002911, allocations: 0.8125 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.002911, allocations: 0 / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.734e-05/0.002969, allocations: 81.25 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-06/0.002972, allocations: 0 / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-06/0.002979, allocations: 1.344 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-06/0.002983, allocations: 4 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.002996, allocations: 0 / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/0.002997, allocations: 0 / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.003024, allocations: 120.1 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003024, allocations: 0 / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001071/0.003131, allocations: 2.25 kB / 0.8143 GB, free: 14.69 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 9.551e-05/0.003227, allocations: 107.1 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.003293, allocations: 15.62 kB / 0.8144 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.003296, allocations: 0 / 0.8144 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.003303, allocations: 15.12 kB / 0.8144 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.772e-05/0.003391, allocations: 4 kB / 0.8144 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.003598, allocations: 84.08 kB / 0.8145 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.072e-05/0.003629, allocations: 51.36 kB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.147e-06/0.003638, allocations: 0 / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.003654, allocations: 8.5 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.003654, allocations: 0 / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.004958/0.008612, allocations: 193.9 kB / 0.8147 GB, free: 14.16 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","",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.0317779569886625]