Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.0008531/0.0008531, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008188/0.0008188, 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.9126/0.9126, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.492e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001308/0.001333, allocations: 0.713 MB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002341, allocations: 1.147 MB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.002383, allocations: 3.938 kB / 0.9536 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.002409, allocations: 4 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/0.002482, allocations: 23.84 kB / 0.9536 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.002868, allocations: 137 kB / 0.9538 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.003007, allocations: 123.8 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.00309, allocations: 8 kB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.003175, allocations: 63.89 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.003254, allocations: 39.88 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.003276, allocations: 12 kB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.003332, allocations: 27.98 kB / 0.954 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.00335, allocations: 11.94 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.003392, allocations: 27.98 kB / 0.9541 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.003564, allocations: 155.6 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003566, allocations: 0 / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.393e-06/0.003567, allocations: 3.938 kB / 0.9542 GB, free: 444 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003571, allocations: 0 / 0.9542 GB, free: 444 kB / 0.9011 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.0003871/0.003958, allocations: 319.9 kB / 0.9545 GB, free: 84 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.00399, allocations: 8.031 kB / 0.9545 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.004032, allocations: 16.83 kB / 0.9545 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.004136, allocations: 125.7 kB / 0.9547 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004151, allocations: 4.375 kB / 0.9547 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.004164, allocations: 8.375 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.004241, allocations: 42.25 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.004248, allocations: 192 / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004257, allocations: 384 / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004261, allocations: 384 / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.004298, allocations: 15.94 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.004603, allocations: 252.5 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.004651, allocations: 30.58 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.00467, allocations: 16.91 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.004679, allocations: 3.938 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.004787, allocations: 87.22 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004788, allocations: 0 / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001628/0.004951, allocations: 69.69 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.004982, allocations: 51.41 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.005058, allocations: 129.8 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.005076, allocations: 29.7 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.005119, allocations: 92.12 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.005131, allocations: 11.89 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.005176, allocations: 33.69 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.005245, allocations: 314.8 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.005316, allocations: 69.69 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.005386, allocations: 96.19 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.005464, allocations: 88.27 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005466, allocations: 0 / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001821/0.005648, allocations: 197 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.005676, allocations: 41.62 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00568, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.005691, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.005738, allocations: 12 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.005742, allocations: 0 / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.005853, allocations: 27.97 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.005868, allocations: 11.98 kB / 0.9563 GB, free: 14.04 MB / 0.9167 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 5.97e-05/0.005928, allocations: 113.8 kB / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.005937, allocations: 12.12 kB / 0.9564 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.005957, allocations: 4 kB / 0.9564 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.00596, allocations: 7.922 kB / 0.9564 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.005964, allocations: 4 kB / 0.9564 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.005967, allocations: 4 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.83e-05/0.006035, allocations: 117.3 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006036, allocations: 0 / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-06/0.006046, allocations: 4 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.006048, allocations: 0 / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.006058, allocations: 7.875 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006059, allocations: 4.062 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00606, allocations: 0 / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.068e-05/0.006141, allocations: 97 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.00615, allocations: 4 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.00616, allocations: 7.938 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.006173, allocations: 0 / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.006194, allocations: 3.984 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.0062, allocations: 8 kB / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.006239, allocations: 95.27 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006239, allocations: 0 / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001406/0.006379, allocations: 20 kB / 0.9568 GB, free: 13.46 MB / 0.9167 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.0001148/0.006494, allocations: 99.19 kB / 0.9569 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.006661, allocations: 157 kB / 0.957 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006662, allocations: 8.125 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.006685, allocations: 12 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.006847, allocations: 11.98 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.007094, allocations: 170.4 kB / 0.9572 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.007132, allocations: 67.34 kB / 0.9573 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.007151, allocations: 12.5 kB / 0.9573 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of SimCode: time 2.51e-07/0.007151, allocations: 4 kB / 0.9573 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of Templates: time 0.002111/0.009262, allocations: 1.186 MB / 0.9585 GB, free: 11.69 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.469369215890765]