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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001556/0.001556, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.794/2.794, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 70.06 kB / 0.8991 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3215, allocations: 157.4 MB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001814/0.3233, allocations: 0.6468 MB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.384e-05/0.3234, allocations: 7.984 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.3234, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3234, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.052e-05/0.3235, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.446e-05/0.3235, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.3236, allocations: 4 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.3236, allocations: 0 / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.3237, allocations: 0 / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.882e-05/0.3237, allocations: 4 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3237, allocations: 0 / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-06/0.3237, allocations: 0 / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3237, allocations: 0 / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.3237, allocations: 0 / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.312e-05/0.3238, allocations: 8 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3238, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3238, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3238, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 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.0002892/0.3241, allocations: 315.5 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3242, allocations: 12.03 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.3242, allocations: 0.9375 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3243, allocations: 164.3 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.3243, allocations: 384 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.3243, allocations: 384 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.3244, allocations: 38.23 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.3244, allocations: 4.125 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.3245, allocations: 3.938 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3245, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.3245, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.3246, allocations: 153.7 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.3247, allocations: 22.45 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.3247, allocations: 8.953 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.3247, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3247, allocations: 34.56 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3247, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.3249, allocations: 41.62 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3249, allocations: 55.41 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.325, allocations: 89.86 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.325, allocations: 29.64 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.325, allocations: 80.14 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3251, allocations: 0 / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.3251, allocations: 13.72 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3252, allocations: 315 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.3252, allocations: 4 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.3252, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.3253, allocations: 12.84 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3253, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.671e-05/0.3253, allocations: 29.7 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3253, allocations: 4 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3253, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3254, allocations: 11.94 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.3254, allocations: 8.031 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3254, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.3255, allocations: 4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3255, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 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.847e-05/0.3255, allocations: 109.8 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.3255, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.536e-05/0.3256, allocations: 11.05 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3256, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3256, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3256, allocations: 4 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.3257, allocations: 149.6 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3257, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.3257, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3257, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3257, allocations: 3.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3257, allocations: 3.984 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3257, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/0.3258, allocations: 69.08 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3258, allocations: 77.11 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.3258, allocations: 3.938 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.3259, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.3259, allocations: 11.92 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.3259, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.3259, allocations: 75.28 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3259, allocations: 0 / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001824/0.3261, allocations: 0 / 1.055 GB, free: 5.422 MB / 0.8106 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.0001466/0.3262, allocations: 103.3 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.3263, allocations: 4 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3263, allocations: 4 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-06/0.3263, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3265, allocations: 2.156 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.3267, allocations: 132.7 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.327, allocations: 0.6692 MB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.327, allocations: 11.56 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of SimCode: time 4.5e-07/0.327, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.001463/0.3285, allocations: 319.9 kB / 1.057 GB, free: 4.117 MB / 0.8106 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