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.0009378/0.0009378, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001044/0.001044, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9358/0.9358, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.806/1.806, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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.204e-06/2.204e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/3.009e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001191/0.001221, allocations: 0.5869 MB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.185e-05/0.001263, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.00128, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.00131, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.001336, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.811e-05/0.001364, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.001417, allocations: 4 kB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.001461, allocations: 4 kB / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.001495, allocations: 7.922 kB / 0.9828 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.001513, allocations: 3.938 kB / 0.9828 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.001532, allocations: 4 kB / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.001535, allocations: 0 / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.001548, allocations: 4 kB / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.001566, allocations: 3.984 kB / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.767e-05/0.001624, allocations: 0 / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.001626, allocations: 0 / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.62e-07/0.001626, allocations: 0 / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.00163, allocations: 0 / 0.9828 GB, free: 1.445 MB / 0.9323 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.0002039/0.001834, allocations: 234.5 kB / 0.9831 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.00187, allocations: 12.03 kB / 0.9831 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.001898, allocations: 8.922 kB / 0.9831 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.194e-05/0.00195, allocations: 101.8 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.00196, allocations: 384 / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.001968, allocations: 4.375 kB / 0.9832 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.002043, allocations: 30.27 kB / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.002049, allocations: 192 / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.002057, allocations: 384 / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.002063, allocations: 4.359 kB / 0.9832 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.002079, allocations: 11.88 kB / 0.9832 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.702e-05/0.002166, allocations: 101.3 kB / 0.9833 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.002204, allocations: 14.58 kB / 0.9833 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.002227, allocations: 16.94 kB / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.002236, allocations: 0 / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.002254, allocations: 30.56 kB / 0.9834 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002255, allocations: 0 / 0.9834 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.002364, allocations: 37.64 kB / 0.9834 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.002391, allocations: 55.34 kB / 0.9835 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.482e-05/0.002416, allocations: 93.98 kB / 0.9836 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-06/0.002424, allocations: 25.7 kB / 0.9836 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.002442, allocations: 80.14 kB / 0.9837 GB, free: 460 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.00247, allocations: 3.938 kB / 0.9837 GB, free: 456 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.002492, allocations: 21.66 kB / 0.9837 GB, free: 428 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.002563, allocations: 318.8 kB / 0.984 GB, free: 100 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.002573, allocations: 0 / 0.984 GB, free: 100 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.002579, allocations: 4 kB / 0.984 GB, free: 96 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.0026, allocations: 4.859 kB / 0.984 GB, free: 88 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002602, allocations: 0 / 0.984 GB, free: 88 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.776e-05/0.002639, allocations: 45.7 kB / 0.9841 GB, free: 36 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.002651, allocations: 4 kB / 0.9841 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.002656, allocations: 0 / 0.9841 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.002667, allocations: 0 / 0.9841 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.002717, allocations: 4 kB / 0.9841 GB, free: 28 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.002722, allocations: 0 / 0.9841 GB, free: 28 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.002731, allocations: 3.938 kB / 0.9841 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.002735, allocations: 0 / 0.9841 GB, free: 24 kB / 0.9323 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.918e-05/0.002794, allocations: 109.8 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.002798, allocations: 4 kB / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.002812, allocations: 7.031 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.002813, allocations: 0 / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.002817, allocations: 0 / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.002819, allocations: 0 / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.198e-05/0.002861, allocations: 97.27 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.002862, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.002869, allocations: 4 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.00287, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.002875, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.002876, allocations: 3.984 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.002877, allocations: 0 / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.88e-05/0.002926, allocations: 73.02 kB / 0.9843 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-06/0.00293, allocations: 0 / 0.9843 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.002938, allocations: 0 / 0.9843 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-06/0.002943, allocations: 4 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.002953, allocations: 0 / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.002955, allocations: 3.984 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.002975, allocations: 75.28 kB / 0.9844 GB, free: 15.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.002975, allocations: 0 / 0.9844 GB, free: 15.59 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001266/0.003102, allocations: 0 / 0.9844 GB, free: 15.59 MB / 0.948 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 8.292e-05/0.003185, allocations: 107.7 kB / 0.9845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.146e-05/0.003246, allocations: 15.88 kB / 0.9845 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.003248, allocations: 0 / 0.9845 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.003252, allocations: 4 kB / 0.9845 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.755e-05/0.00335, allocations: 0 / 0.9845 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.003561, allocations: 106.6 kB / 0.9847 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.003594, allocations: 55.36 kB / 0.9847 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.00361, allocations: 8.5 kB / 0.9847 GB, free: 15.24 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/0.00361, allocations: 0 / 0.9847 GB, free: 15.24 MB / 0.948 GB Notification: Performance of Templates: time 0.001134/0.004743, allocations: 336 kB / 0.985 GB, free: 14.91 MB / 0.948 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: 6.729496809653938]