Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001195/0.001195, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 63.91 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6536, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001782/0.6555, allocations: 0.7862 MB / 0.9506 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.6565, allocations: 1.129 MB / 0.9517 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.6566, allocations: 1.375 kB / 0.9517 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.6566, allocations: 0 / 0.9517 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.6567, allocations: 9.297 kB / 0.9517 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.6571, allocations: 120.9 kB / 0.9518 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.6573, allocations: 134.8 kB / 0.9519 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.6574, allocations: 9.344 kB / 0.9519 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.6574, allocations: 54.55 kB / 0.952 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.6575, allocations: 29.25 kB / 0.952 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.6575, allocations: 11.53 kB / 0.952 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.6576, allocations: 31.8 kB / 0.9521 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.6576, allocations: 13.17 kB / 0.9521 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.6577, allocations: 40.41 kB / 0.9521 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.6578, allocations: 93.02 kB / 0.9522 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6578, allocations: 3.938 kB / 0.9522 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6578, allocations: 4 kB / 0.9522 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.6578, allocations: 0 / 0.9522 GB, free: 7.387 MB / 0.7169 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.000385/0.6582, allocations: 399.1 kB / 0.9526 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6583, allocations: 9.812 kB / 0.9526 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.6583, allocations: 13.03 kB / 0.9526 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.6584, allocations: 181.8 kB / 0.9528 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.6585, allocations: 10.59 kB / 0.9528 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6585, allocations: 5.375 kB / 0.9528 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/0.6586, allocations: 41.66 kB / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6586, allocations: 5.344 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.6586, allocations: 3.938 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.6586, allocations: 1.375 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.6587, allocations: 9.969 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.659, allocations: 326.8 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.6591, allocations: 38.02 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.6591, allocations: 17.2 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.6591, allocations: 1.156 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.6592, allocations: 64.23 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.033e-06/0.6593, allocations: 0 / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.6594, allocations: 77.38 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.6595, allocations: 56.7 kB / 0.9534 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.6596, allocations: 123.4 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.6596, allocations: 36.05 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.6596, allocations: 91.12 kB / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.6596, allocations: 6 kB / 0.9536 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.6597, allocations: 29.7 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.6598, allocations: 316.4 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.6599, allocations: 38.88 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.6599, allocations: 58.19 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.66, allocations: 99.92 kB / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6601, allocations: 0 / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002348/0.6603, allocations: 161.3 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.6603, allocations: 37.23 kB / 0.9544 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6603, allocations: 5.266 kB / 0.9544 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6604, allocations: 1.188 kB / 0.9544 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.6604, allocations: 2.594 kB / 0.9544 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6604, allocations: 9.188 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6606, allocations: 27.62 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.6606, allocations: 8.844 kB / 0.9544 GB, free: 5.188 MB / 0.7169 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.588e-05/0.6607, allocations: 124 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.6607, allocations: 6.75 kB / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.6608, allocations: 5.375 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6608, allocations: 4 kB / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6608, allocations: 1.469 kB / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6608, allocations: 0 / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.014e-05/0.6609, allocations: 175.7 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.6609, allocations: 4 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.6609, allocations: 6.906 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6609, allocations: 0 / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6609, allocations: 0 / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6609, allocations: 1.469 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6609, allocations: 0 / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.629e-05/0.661, allocations: 98.7 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.6611, allocations: 83.98 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.6611, allocations: 0 / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.6611, allocations: 1.438 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.6611, allocations: 1.625 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.6611, allocations: 9.453 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.6612, allocations: 95.31 kB / 0.955 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6612, allocations: 0 / 0.955 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002157/0.6614, allocations: 20.39 kB / 0.955 GB, free: 4.543 MB / 0.7169 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.0001226/0.6615, allocations: 112.1 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.6618, allocations: 141.5 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6618, allocations: 0 / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.6618, allocations: 18.45 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.662, allocations: 22.84 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.6623, allocations: 180 kB / 0.9555 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.6624, allocations: 0.6916 MB / 0.9561 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.6625, allocations: 10.12 kB / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6625, allocations: 0 / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.002373/0.6648, allocations: 1.159 MB / 0.9573 GB, free: 2.836 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches