Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 102.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002373/0.002373, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 476.7 MB / 0.7634 GB, free: 11.02 MB / 0.6231 GB [Timeout remaining time 87] 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 71.89 kB / 1.108 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8791, allocations: 168.7 MB / 1.272 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002139/0.8812, allocations: 0.678 MB / 1.273 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.8827, allocations: 1.065 MB / 1.274 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.8828, allocations: 0 / 1.274 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.8828, allocations: 3.938 kB / 1.274 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.8829, allocations: 3.938 kB / 1.274 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.8832, allocations: 39.89 kB / 1.274 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.8833, allocations: 51.78 kB / 1.274 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8834, allocations: 8 kB / 1.274 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.8835, allocations: 15.98 kB / 1.274 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.8835, allocations: 27.84 kB / 1.274 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.8836, allocations: 4 kB / 1.274 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.8836, allocations: 19.98 kB / 1.274 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.8837, allocations: 11.98 kB / 1.274 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.8837, allocations: 23.86 kB / 1.274 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.8838, allocations: 51.5 kB / 1.274 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8839, allocations: 0 / 1.274 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8839, allocations: 0 / 1.274 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8839, allocations: 4 kB / 1.274 GB, free: 2.707 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006827/0.8845, allocations: 373.9 kB / 1.275 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8846, allocations: 8.031 kB / 1.275 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.8846, allocations: 4.938 kB / 1.275 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.8848, allocations: 168.3 kB / 1.275 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.8848, allocations: 4.375 kB / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.8848, allocations: 4.375 kB / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.885, allocations: 58.23 kB / 1.275 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.885, allocations: 192 / 1.275 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.885, allocations: 11.92 kB / 1.275 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.885, allocations: 4 kB / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.8852, allocations: 35.97 kB / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.8857, allocations: 280.8 kB / 1.275 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.8859, allocations: 54.48 kB / 1.275 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.886, allocations: 34.45 kB / 1.275 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.886, allocations: 7.984 kB / 1.275 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.8863, allocations: 71.33 kB / 1.275 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.8863, allocations: 0 / 1.275 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004286/0.8867, allocations: 125.6 kB / 1.276 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.8868, allocations: 55.41 kB / 1.276 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.8868, allocations: 109.8 kB / 1.276 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.8869, allocations: 25.7 kB / 1.276 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.8869, allocations: 84.14 kB / 1.276 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.887, allocations: 15.89 kB / 1.276 GB, free: 1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.887, allocations: 17.72 kB / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8872, allocations: 322.8 kB / 1.276 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.8873, allocations: 23.98 kB / 1.276 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.8874, allocations: 51.34 kB / 1.276 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.8876, allocations: 91.81 kB / 1.276 GB, free: 476 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8876, allocations: 0 / 1.276 GB, free: 476 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003737/0.888, allocations: 105.5 kB / 1.276 GB, free: 364 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.888, allocations: 8 kB / 1.276 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.888, allocations: 0 / 1.276 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.888, allocations: 4 kB / 1.276 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.8881, allocations: 20.08 kB / 1.276 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.8881, allocations: 0 / 1.276 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.8882, allocations: 7.938 kB / 1.276 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.8882, allocations: 4 kB / 1.276 GB, free: 320 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001216/0.8883, allocations: 128 kB / 1.277 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.8884, allocations: 7.953 kB / 1.277 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.8886, allocations: 98.02 kB / 1.277 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.8886, allocations: 8 kB / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8886, allocations: 0 / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8887, allocations: 0 / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.8892, allocations: 354.5 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8892, allocations: 0 / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.8892, allocations: 11.98 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8892, allocations: 0 / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.8892, allocations: 4 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8892, allocations: 4 kB / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8892, allocations: 0 / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.8896, allocations: 203.3 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.8896, allocations: 77.11 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.8896, allocations: 0 / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.8897, allocations: 15.98 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.8898, allocations: 0 / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.8898, allocations: 16 kB / 1.277 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.8898, allocations: 91.27 kB / 1.277 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8898, allocations: 0 / 1.277 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002344/0.8901, allocations: 12 kB / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001683/0.8902, allocations: 99.25 kB / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.8905, allocations: 67.88 kB / 1.278 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8905, allocations: 0 / 1.278 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.8906, allocations: 27.98 kB / 1.278 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.8909, allocations: 22.36 kB / 1.278 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.8913, allocations: 167.6 kB / 1.278 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.8917, allocations: 0.6886 MB / 1.278 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.8917, allocations: 11.44 kB / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.8917, allocations: 0 / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.002961/0.8947, allocations: 0.8628 MB / 1.279 GB, free: 13.19 MB / 0.9825 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_Sampler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches