Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 63.89 kB / 1.057 GB, free: 1.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3161, allocations: 160.8 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001868/0.318, allocations: 0.7212 MB / 1.215 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3195, allocations: 1.141 MB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.3195, allocations: 0 / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.3195, allocations: 3.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.3196, allocations: 15.92 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.3201, allocations: 131.7 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3202, allocations: 123.8 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.3203, allocations: 8 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.3204, allocations: 51.84 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.3205, allocations: 39.88 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3205, allocations: 16 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-05/0.3206, allocations: 27.98 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3206, allocations: 8 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.3207, allocations: 51.77 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3209, allocations: 127.6 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3209, allocations: 4 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3209, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3209, allocations: 0 / 1.217 GB, free: 14.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005273/0.3214, allocations: 400.9 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3215, allocations: 8.031 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.3215, allocations: 12.94 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3217, allocations: 180.3 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3217, allocations: 384 / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3217, allocations: 8.375 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.3218, allocations: 38.25 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3218, allocations: 192 / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3218, allocations: 11.94 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.3218, allocations: 3.938 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.3219, allocations: 8 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.3223, allocations: 336.8 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.3224, allocations: 34.5 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.3224, allocations: 4.922 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.3224, allocations: 4 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.3225, allocations: 67.33 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3225, allocations: 4 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.3227, allocations: 73.62 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3228, allocations: 55.39 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3229, allocations: 133.7 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3229, allocations: 25.7 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.323, allocations: 96.06 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.323, allocations: 7.953 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.3231, allocations: 33.7 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3232, allocations: 314.8 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.3233, allocations: 39.97 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.3234, allocations: 58.55 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3236, allocations: 92.2 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3236, allocations: 3.938 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002863/0.3239, allocations: 167.2 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.3239, allocations: 39.73 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3239, allocations: 7.984 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3239, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.647e-05/0.324, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.324, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.3242, allocations: 23.97 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3242, allocations: 4 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001013/0.3243, allocations: 125.8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.3243, allocations: 7.938 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.3243, allocations: 11.91 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3243, allocations: 240 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3243, allocations: 4.062 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3243, allocations: 3.984 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3245, allocations: 173.6 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3245, allocations: 4 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.3245, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3245, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3245, allocations: 4 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3245, allocations: 7.938 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3245, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3246, allocations: 89.02 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3247, allocations: 85.09 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3247, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.3247, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.3247, allocations: 3.938 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.3247, allocations: 15.94 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.318e-05/0.3248, allocations: 99.64 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3248, allocations: 0 / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002163/0.325, allocations: 23.94 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00015/0.3252, allocations: 103.2 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3254, allocations: 123.3 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3254, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.3255, allocations: 20.11 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3257, allocations: 19.92 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.3261, allocations: 175.6 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3264, allocations: 0.6885 MB / 1.22 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.3264, allocations: 7.438 kB / 1.22 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3264, allocations: 0 / 1.22 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of Templates: time 0.002963/0.3294, allocations: 1.161 MB / 1.222 GB, free: 8.781 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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: 10.139073786791414]