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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 105.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7355 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 1.055 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7238, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002511/0.7264, allocations: 0.7143 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.7281, allocations: 1.135 MB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.7282, allocations: 8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.7283, allocations: 7.875 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.7284, allocations: 3.938 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.729, allocations: 135 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.7293, allocations: 135.8 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.7294, allocations: 15.98 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.7295, allocations: 47.86 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.7297, allocations: 39.88 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.7297, allocations: 19.94 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.7298, allocations: 23.98 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.7298, allocations: 8 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.7299, allocations: 43.84 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.7301, allocations: 143.5 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7301, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7301, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7301, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 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.0005055/0.7307, allocations: 390.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7307, allocations: 8.031 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.7308, allocations: 16.86 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7309, allocations: 180.2 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.7309, allocations: 384 / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.731, allocations: 8.375 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.424e-05/0.7311, allocations: 38.25 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.7311, allocations: 4.188 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7311, allocations: 7.938 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7311, allocations: 4 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.7311, allocations: 19.92 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.7316, allocations: 324.8 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.794e-05/0.7316, allocations: 30.52 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.7317, allocations: 8.922 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.7317, allocations: 0 / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.7318, allocations: 75.31 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.7318, allocations: 0 / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.732, allocations: 73.67 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.7321, allocations: 55.41 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7322, allocations: 129.7 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.7322, allocations: 29.7 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.7323, allocations: 88.14 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.7323, allocations: 7.906 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.7324, allocations: 33.7 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.7325, allocations: 314.8 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.7326, allocations: 43.92 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.7326, allocations: 50.56 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.7328, allocations: 96.2 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7328, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002612/0.7331, allocations: 171.2 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.7331, allocations: 33.69 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7331, allocations: 4 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7331, allocations: 7.875 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.7332, allocations: 4 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7332, allocations: 0 / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.7334, allocations: 35.97 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.7334, allocations: 7.984 kB / 1.213 GB, free: 8.555 MB / 0.9356 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 8.51e-05/0.7335, allocations: 125.7 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.7335, allocations: 3.906 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.7336, allocations: 7.906 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.7336, allocations: 0 / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.7336, allocations: 4.062 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7336, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.7337, allocations: 181.6 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7337, allocations: 4 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.7337, allocations: 0 / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7337, allocations: 0 / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.7337, allocations: 0 / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7337, allocations: 4 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7338, allocations: 0 / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.7339, allocations: 92.98 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.7339, allocations: 85.02 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.7339, allocations: 4 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.734, allocations: 0 / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.734, allocations: 3.984 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.734, allocations: 4 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.285e-05/0.7341, allocations: 99.27 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7341, allocations: 0 / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000212/0.7343, allocations: 20 kB / 1.214 GB, free: 7.82 MB / 0.9356 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.0001405/0.7344, allocations: 103.2 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.7347, allocations: 139.3 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7347, allocations: 4 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.7347, allocations: 16 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.7349, allocations: 15.92 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.7352, allocations: 171.6 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.7355, allocations: 0.6925 MB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.7355, allocations: 7.438 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.7355, allocations: 0 / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.002712/0.7382, allocations: 1.148 MB / 1.216 GB, free: 5.461 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches