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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 103.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 191.9 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.61 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6852, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001696/0.6869, allocations: 0.5734 MB / 1.084 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 2.933e-05/0.687, allocations: 4 kB / 1.084 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.687, allocations: 0.625 kB / 1.084 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.687, allocations: 1.359 kB / 1.084 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.267e-05/0.687, allocations: 0 / 1.084 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.095e-05/0.6871, allocations: 0.8438 kB / 1.084 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.6871, allocations: 5.25 kB / 1.084 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.6872, allocations: 2.344 kB / 1.084 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.6872, allocations: 1.094 kB / 1.084 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.434e-05/0.6872, allocations: 0 / 1.084 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.6872, allocations: 0 / 1.084 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-06/0.6872, allocations: 1.125 kB / 1.084 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.6873, allocations: 7.938 kB / 1.084 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.6873, allocations: 5.766 kB / 1.084 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.462e-05/0.6873, allocations: 0.75 kB / 1.084 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6873, allocations: 1.031 kB / 1.084 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.113e-06/0.6873, allocations: 0 / 1.084 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.6874, allocations: 0 / 1.084 GB, free: 1.285 MB / 0.8262 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.0001814/0.6875, allocations: 308.6 kB / 1.084 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.6876, allocations: 9.875 kB / 1.084 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.6876, allocations: 5.781 kB / 1.084 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.841e-05/0.6877, allocations: 161.1 kB / 1.084 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.6877, allocations: 5.969 kB / 1.084 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.6877, allocations: 1.125 kB / 1.084 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.6878, allocations: 31.61 kB / 1.084 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.6878, allocations: 4.875 kB / 1.084 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.6878, allocations: 5.375 kB / 1.084 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.6878, allocations: 0 / 1.084 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.419e-05/0.6878, allocations: 5 kB / 1.084 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.145e-05/0.6879, allocations: 144.9 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.777e-05/0.6879, allocations: 20.92 kB / 1.084 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.688, allocations: 11.3 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.688, allocations: 1.25 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.119e-05/0.688, allocations: 31.31 kB / 1.084 GB, free: 432 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.688, allocations: 1 kB / 1.084 GB, free: 432 kB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001028/0.6881, allocations: 38.88 kB / 1.084 GB, free: 392 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.6881, allocations: 56.23 kB / 1.084 GB, free: 324 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.511e-05/0.6881, allocations: 90.58 kB / 1.084 GB, free: 224 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.6881, allocations: 25.7 kB / 1.084 GB, free: 192 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 1.23e-05/0.6882, allocations: 81.47 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.6882, allocations: 4.766 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.6882, allocations: 15.95 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6884, allocations: 311.8 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.6884, allocations: 1.359 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-06/0.6884, allocations: 4.938 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.006e-05/0.6884, allocations: 8.734 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6884, allocations: 0 / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.968e-05/0.6885, allocations: 43.83 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6885, allocations: 5.156 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.6885, allocations: 0 / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6885, allocations: 5.531 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.6886, allocations: 1.688 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.6886, allocations: 0.8125 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-06/0.6886, allocations: 4.609 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.6886, allocations: 4.906 kB / 1.085 GB, free: 15.7 MB / 0.8419 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 7.316e-05/0.6887, allocations: 108.6 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.6887, allocations: 7.844 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.6887, allocations: 8.859 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.6887, allocations: 0 / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6887, allocations: 0.6094 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.6887, allocations: 0.8438 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.6888, allocations: 144.5 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6888, allocations: 5.094 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-06/0.6889, allocations: 2.297 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.6889, allocations: 0 / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.6889, allocations: 5.375 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6889, allocations: 0 / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6889, allocations: 4.547 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.626e-05/0.689, allocations: 56.88 kB / 1.085 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.689, allocations: 78.25 kB / 1.085 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.689, allocations: 9.094 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.689, allocations: 0.7031 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.6891, allocations: 0.5625 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.6891, allocations: 0.8125 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.6891, allocations: 76.66 kB / 1.085 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.6891, allocations: 0 / 1.085 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001804/0.6893, allocations: 5.438 kB / 1.085 GB, free: 15.13 MB / 0.8419 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.000119/0.6894, allocations: 97.94 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.6895, allocations: 12.27 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6895, allocations: 0 / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.6895, allocations: 2.875 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.6897, allocations: 3.5 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.6899, allocations: 117.5 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.6902, allocations: 0.6705 MB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.6902, allocations: 7.438 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.6902, allocations: 4.688 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.001683/0.6919, allocations: 331.6 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches