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.001001/0.001001, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009671/0.009672, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.626/1.626, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.111/3.111, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 15.72 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4068, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00106/0.408, allocations: 454.9 kB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.4098, allocations: 1.151 MB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.4098, allocations: 0 / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.4099, allocations: 7.875 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.41, allocations: 7.938 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.4105, allocations: 115 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.4107, allocations: 111.8 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4108, allocations: 11.98 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.4109, allocations: 31.92 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.411, allocations: 27.89 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.411, allocations: 11.94 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.4111, allocations: 15.98 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.4111, allocations: 15.92 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.4112, allocations: 57.56 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.4114, allocations: 123.7 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4114, allocations: 0 / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4114, allocations: 4 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4115, allocations: 0 / 1.061 GB, free: 3.293 MB / 0.8106 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.000532/0.412, allocations: 386.6 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4121, allocations: 8.031 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.4121, allocations: 8.844 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.4123, allocations: 176.3 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4123, allocations: 4.375 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4124, allocations: 8.375 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4125, allocations: 46.19 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4125, allocations: 4.188 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4125, allocations: 3.938 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4125, allocations: 4 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.297e-05/0.4126, allocations: 11.98 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4131, allocations: 336.7 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.4131, allocations: 34.52 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.4132, allocations: 20.86 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.4132, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.4133, allocations: 59.39 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4133, allocations: 0 / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002322/0.4136, allocations: 77.58 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4136, allocations: 55.34 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4138, allocations: 129.8 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.4138, allocations: 29.7 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.4139, allocations: 88.14 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.4139, allocations: 11.91 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.4139, allocations: 17.7 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4141, allocations: 314.8 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.4142, allocations: 35.98 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4143, allocations: 58.55 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.4144, allocations: 100.2 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4144, allocations: 0 / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002726/0.4147, allocations: 163.2 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.4148, allocations: 37.7 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4148, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4148, allocations: 4 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.4149, allocations: 0 / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4149, allocations: 4.062 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.4151, allocations: 43.95 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.4152, allocations: 7.938 kB / 1.063 GB, free: 0.7812 MB / 0.8106 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.0001169/0.4153, allocations: 121.8 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4153, allocations: 11.84 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.4153, allocations: 11.89 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4153, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4154, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4154, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.4155, allocations: 181.6 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4155, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.4156, allocations: 7.922 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4156, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.4156, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4156, allocations: 0 / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4156, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.4157, allocations: 88.97 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.4158, allocations: 81.11 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.4158, allocations: 3.984 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.74e-05/0.4158, allocations: 0 / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.4158, allocations: 4 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4159, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.4159, allocations: 99.27 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4159, allocations: 4 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002062/0.4162, allocations: 16 kB / 1.064 GB, free: 56 kB / 0.8106 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.0002075/0.4164, allocations: 115.2 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.4166, allocations: 135.6 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4166, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.4167, allocations: 12 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.4169, allocations: 31.33 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.4172, allocations: 162.5 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4176, allocations: 0.6848 MB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4176, allocations: 8 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.4176, allocations: 11.44 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4176, allocations: 0 / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.004078/0.4217, allocations: 1.283 MB / 1.066 GB, free: 13.57 MB / 0.8262 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/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) Reference file matches