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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001439/0.001439, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001539/0.001539, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 64.05 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8605, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001827/0.8623, allocations: 0.5702 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.287e-05/0.8624, allocations: 11.94 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.8624, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.8625, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.768e-05/0.8625, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.251e-05/0.8626, allocations: 3.938 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.8626, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.8627, allocations: 4 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.8627, allocations: 3.984 kB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.743e-05/0.8627, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.8627, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-06/0.8627, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.8628, allocations: 4 kB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.8628, allocations: 4 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.122e-05/0.8629, allocations: 3.984 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8629, allocations: 4 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8629, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.8629, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 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.0002466/0.8631, allocations: 307.5 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8632, allocations: 12.06 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.8632, allocations: 0.9375 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/0.8633, allocations: 164.4 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.8633, allocations: 4.375 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.8633, allocations: 384 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.297e-05/0.8634, allocations: 34.27 kB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8634, allocations: 192 / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8635, allocations: 7.875 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.8635, allocations: 0 / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.8635, allocations: 0 / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.8636, allocations: 145.7 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.8637, allocations: 18.58 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.8637, allocations: 16.94 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.8637, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.8637, allocations: 30.56 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8638, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001052/0.8639, allocations: 37.58 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.8639, allocations: 55.53 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.864, allocations: 89.86 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.864, allocations: 29.7 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.864, allocations: 80.14 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.864, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.8641, allocations: 13.72 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8642, allocations: 314.8 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.8642, allocations: 7.938 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.8643, allocations: 0 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.8643, allocations: 20.86 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8643, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.425e-05/0.8644, allocations: 33.7 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8644, allocations: 4 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.8644, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.8644, allocations: 7.922 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.8645, allocations: 4 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8645, allocations: 3.984 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.8645, allocations: 4.031 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.8645, allocations: 3.938 kB / 1.21 GB, free: 11.33 MB / 0.9356 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.526e-05/0.8646, allocations: 113.8 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.8646, allocations: 3.906 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.8646, allocations: 7.062 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8646, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8646, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.8646, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/0.8647, allocations: 141.7 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8647, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.8647, allocations: 11.98 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.8647, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8648, allocations: 7.875 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8648, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8648, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.523e-05/0.8648, allocations: 57.14 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.8649, allocations: 77.11 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.8649, allocations: 7.953 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.8649, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.8649, allocations: 0 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.8649, allocations: 4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.865, allocations: 75.28 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.865, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001857/0.8652, allocations: 4 kB / 1.211 GB, free: 10.73 MB / 0.9356 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.0001271/0.8653, allocations: 95.25 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.8654, allocations: 15.94 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8654, allocations: 0 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.8654, allocations: 4 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.8655, allocations: 2.031 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.8658, allocations: 119 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.8661, allocations: 0.6729 MB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.8661, allocations: 11.38 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.8661, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of Templates: time 0.001436/0.8676, allocations: 332.2 kB / 1.212 GB, free: 9.418 MB / 0.9356 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=480 -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