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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001481/0.001481, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001463/0.001463, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.86 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3138, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001807/0.3156, allocations: 0.6391 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.993e-05/0.3157, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.3157, allocations: 3.938 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.3157, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.3158, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-05/0.3158, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.3159, allocations: 7.984 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.3159, allocations: 7.984 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.3159, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.555e-05/0.3159, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.316, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-06/0.316, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.316, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.316, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.145e-05/0.3161, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3161, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3161, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.3161, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8419 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.0003304/0.3164, allocations: 303.6 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3165, allocations: 12.06 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.3165, allocations: 0.9375 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.3166, allocations: 164.4 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.3166, allocations: 384 / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3166, allocations: 4.375 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3168, allocations: 38.14 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3168, allocations: 4.188 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3168, allocations: 3.938 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3168, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.316e-05/0.3168, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.317, allocations: 141.7 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.317, allocations: 26.53 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.3171, allocations: 12.92 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.3171, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3171, allocations: 38.5 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.3171, allocations: 0 / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.3172, allocations: 33.64 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3173, allocations: 51.41 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3174, allocations: 89.86 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3174, allocations: 25.7 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.3175, allocations: 88.14 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3175, allocations: 4.125 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.3175, allocations: 13.7 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002915/0.3178, allocations: 310.8 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3179, allocations: 4 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.3179, allocations: 4 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.3179, allocations: 12.8 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3179, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.113e-05/0.318, allocations: 33.77 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.318, allocations: 10.06 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.318, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.318, allocations: 3.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.3181, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3181, allocations: 3.984 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.3181, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3181, allocations: 0 / 1.066 GB, free: 12.75 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 8.669e-05/0.3182, allocations: 112 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.3182, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.3182, allocations: 11.06 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3182, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3183, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3183, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.3184, allocations: 149.7 kB / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3184, allocations: 3.938 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.3184, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3184, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3184, allocations: 3.938 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3184, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3185, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.936e-05/0.3185, allocations: 53.14 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.3186, allocations: 81.09 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3186, allocations: 3.938 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.3186, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.3187, allocations: 3.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.3187, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.3187, allocations: 83.31 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3187, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000183/0.3189, allocations: 0 / 1.067 GB, free: 12.14 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.0001698/0.3191, allocations: 95.25 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.3192, allocations: 7.938 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.3192, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3193, allocations: 4.391 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.3196, allocations: 123.2 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.32, allocations: 0.6729 MB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.32, allocations: 7.438 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.32, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.001718/0.3217, allocations: 331.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches