Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008578/0.0008578, allocations: 80.53 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.001002/0.001002, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9125/0.9125, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.769/1.769, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.689e-05, allocations: 4.953 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001309/0.001336, allocations: 0.713 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.002445, allocations: 1.148 MB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.002484, allocations: 4 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.002511, allocations: 3.938 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.002584, allocations: 11.86 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.00317, allocations: 134.2 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.003316, allocations: 127.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.003404, allocations: 8 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.003491, allocations: 63.89 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.003578, allocations: 39.94 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.0036, allocations: 12 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.003655, allocations: 23.94 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003676, allocations: 15.92 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.003723, allocations: 31.92 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.003895, allocations: 151.7 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003897, allocations: 0 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003899, allocations: 0 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003903, allocations: 0 / 1.003 GB, free: 10.5 MB / 0.9636 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.0003984/0.004301, allocations: 319.9 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.004338, allocations: 8.75 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.004378, allocations: 12.89 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.045e-05/0.004469, allocations: 125.7 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004483, allocations: 4.312 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.004497, allocations: 8.375 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.036e-05/0.004577, allocations: 42.25 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.004584, allocations: 192 / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.004593, allocations: 384 / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004598, allocations: 384 / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.004637, allocations: 23.92 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.004941, allocations: 252.5 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.004994, allocations: 38.52 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.005017, allocations: 12.92 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.005024, allocations: 0 / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.005145, allocations: 67.33 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005146, allocations: 0 / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.005316, allocations: 85.56 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.005348, allocations: 51.41 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.005426, allocations: 121.8 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.005445, allocations: 33.7 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.005492, allocations: 96.11 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.005505, allocations: 15.84 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.005548, allocations: 29.7 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.005627, allocations: 322.8 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.005701, allocations: 65.69 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.005774, allocations: 88.25 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.005859, allocations: 96.2 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005861, allocations: 0 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001966/0.006058, allocations: 193 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.006088, allocations: 41.69 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006093, allocations: 4 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006104, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.006152, allocations: 4 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.006157, allocations: 0 / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.006276, allocations: 35.86 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.006288, allocations: 7.938 kB / 1.005 GB, free: 8.102 MB / 0.9636 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 6.676e-05/0.006355, allocations: 125.8 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-06/0.006362, allocations: 4.172 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.006388, allocations: 15.98 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.00639, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.006395, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006398, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.048e-05/0.006468, allocations: 117.3 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.006469, allocations: 0 / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.00648, allocations: 3.984 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006482, allocations: 0 / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.006491, allocations: 12 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006492, allocations: 80 / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.006494, allocations: 3.984 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.347e-05/0.006578, allocations: 93.08 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.006588, allocations: 7.938 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.006599, allocations: 3.938 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.006611, allocations: 4 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.006634, allocations: 7.938 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.006638, allocations: 0 / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.006678, allocations: 95.27 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006678, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001527/0.00683, allocations: 24 kB / 1.006 GB, free: 7.527 MB / 0.9636 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.0001265/0.006957, allocations: 103.2 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.007132, allocations: 157 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007133, allocations: 0 / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.00716, allocations: 19.92 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.007329, allocations: 15.98 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.007597, allocations: 166.5 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.007641, allocations: 71.45 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.00766, allocations: 12.5 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.00766, allocations: 0 / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of Templates: time 0.001946/0.009606, allocations: 1.181 MB / 1.008 GB, free: 5.742 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.579727850854397]