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.001724/0.001724, allocations: 78.48 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002229/0.002229, allocations: 170.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.584/1.584, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.825/2.825, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.495e-06/2.495e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.564e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001844/0.001879, allocations: 0.5837 MB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.346e-05/0.001923, allocations: 3.984 kB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.001941, allocations: 0 / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.00197, allocations: 4 kB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.002008, allocations: 0 / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.437e-05/0.002042, allocations: 4 kB / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.002098, allocations: 4 kB / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.002143, allocations: 0 / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.002178, allocations: 3.938 kB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.002202, allocations: 3.984 kB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.002218, allocations: 0 / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-06/0.002224, allocations: 4 kB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.002236, allocations: 0 / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.002253, allocations: 3.938 kB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.546e-05/0.002309, allocations: 4 kB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002312, allocations: 3.938 kB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002312, allocations: 0 / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.002317, allocations: 0 / 0.9821 GB, free: 11.29 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.0003008/0.002617, allocations: 238.4 kB / 0.9823 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.002655, allocations: 8.031 kB / 0.9823 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.002683, allocations: 8.891 kB / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.191e-05/0.002775, allocations: 105.8 kB / 0.9824 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.002787, allocations: 384 / 0.9824 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.002796, allocations: 384 / 0.9824 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.002887, allocations: 30.27 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.002895, allocations: 4.188 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.002903, allocations: 384 / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.002907, allocations: 384 / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.002926, allocations: 3.938 kB / 0.9825 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.003053, allocations: 105.3 kB / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.003103, allocations: 14.58 kB / 0.9826 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.003127, allocations: 8.953 kB / 0.9826 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.003138, allocations: 0 / 0.9826 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.003175, allocations: 34.55 kB / 0.9826 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.003176, allocations: 4 kB / 0.9826 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.003311, allocations: 41.64 kB / 0.9827 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.003349, allocations: 51.41 kB / 0.9827 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.00341, allocations: 89.86 kB / 0.9828 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.003427, allocations: 29.64 kB / 0.9828 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.003469, allocations: 80.14 kB / 0.9829 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.003502, allocations: 0 / 0.9829 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.003534, allocations: 13.72 kB / 0.9829 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.003687, allocations: 314.8 kB / 0.9832 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.003697, allocations: 0 / 0.9832 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.00371, allocations: 12.11 kB / 0.9832 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.003739, allocations: 12.86 kB / 0.9832 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00374, allocations: 0 / 0.9832 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.249e-05/0.003803, allocations: 41.62 kB / 0.9833 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.003817, allocations: 4 kB / 0.9833 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003821, allocations: 0 / 0.9833 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.003834, allocations: 0 / 0.9833 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.003888, allocations: 0 / 0.9833 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.003892, allocations: 4 kB / 0.9833 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.003906, allocations: 3.938 kB / 0.9833 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.00391, allocations: 4.094 kB / 0.9833 GB, free: 9.867 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 7.882e-05/0.003989, allocations: 105.8 kB / 0.9834 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.003997, allocations: 3.984 kB / 0.9834 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.00402, allocations: 14.94 kB / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.004021, allocations: 0 / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.004025, allocations: 0 / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.004028, allocations: 0 / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.259e-05/0.004111, allocations: 97.27 kB / 0.9835 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004111, allocations: 0 / 0.9835 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.004124, allocations: 4 kB / 0.9835 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.004126, allocations: 4 kB / 0.9835 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.004131, allocations: 0 / 0.9835 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.004132, allocations: 0 / 0.9835 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004133, allocations: 0 / 0.9835 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.00421, allocations: 65 kB / 0.9836 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.004217, allocations: 4 kB / 0.9836 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.004228, allocations: 4 kB / 0.9836 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.004234, allocations: 0 / 0.9836 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.004251, allocations: 4 kB / 0.9836 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.004253, allocations: 0 / 0.9836 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.004293, allocations: 79.22 kB / 0.9837 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.004294, allocations: 4.031 kB / 0.9837 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001797/0.004473, allocations: 0 / 0.9837 GB, free: 9.426 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.000122/0.004595, allocations: 103.7 kB / 0.9838 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.004659, allocations: 4 kB / 0.9838 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.004661, allocations: 0 / 0.9838 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.004668, allocations: 3.938 kB / 0.9838 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.004802, allocations: 6.344 kB / 0.9838 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.005097, allocations: 81 kB / 0.9839 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.382e-05/0.005151, allocations: 59.34 kB / 0.9839 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.005163, allocations: 4 kB / 0.9839 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.005182, allocations: 8.5 kB / 0.9839 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of SimCode: time 6.12e-07/0.005182, allocations: 0 / 0.9839 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of Templates: time 0.00229/0.007472, allocations: 176.8 kB / 0.9841 GB, free: 8.938 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.234838232398033]