Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_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_10_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.001116/0.001116, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 175 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.6878, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.0009661/0.6888, allocations: 469.4 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.6904, allocations: 1.136 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.6905, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.6905, allocations: 3.984 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.6906, allocations: 3.938 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.6911, allocations: 131.3 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.6913, allocations: 103.8 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.6914, allocations: 15.98 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.6915, allocations: 39.84 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.6916, allocations: 23.91 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.6916, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.6917, allocations: 19.98 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.6917, allocations: 11.92 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.6918, allocations: 57.55 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.692, allocations: 107.8 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.692, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.724e-06/0.692, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.692, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.7794 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.0004684/0.6925, allocations: 375 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6925, allocations: 11.98 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.6926, allocations: 8.844 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.6928, allocations: 180.2 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6928, allocations: 4.375 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.6928, allocations: 8.375 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.6929, allocations: 42.25 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6929, allocations: 192 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.693, allocations: 3.938 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.693, allocations: 4 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.693, allocations: 15.98 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.6935, allocations: 328.7 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.617e-05/0.6936, allocations: 38.52 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.6936, allocations: 8.922 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.6936, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.6938, allocations: 67.38 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6938, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.694, allocations: 81.52 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.6941, allocations: 59.34 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6942, allocations: 129.8 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6942, allocations: 25.7 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.6943, allocations: 92.14 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.6943, allocations: 7.906 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.6943, allocations: 17.72 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6945, allocations: 314.8 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.6946, allocations: 39.98 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.6947, allocations: 66.53 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.6948, allocations: 92.16 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6948, allocations: 3.938 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002727/0.6951, allocations: 163.2 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.6951, allocations: 37.7 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6951, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6952, allocations: 8.062 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.6952, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.6952, allocations: 4 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.6955, allocations: 43.83 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.6955, allocations: 4.062 kB / 1.028 GB, free: 11.23 MB / 0.7794 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.0001176/0.6956, allocations: 125.8 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.6956, allocations: 7.906 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.6957, allocations: 15.89 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6957, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6957, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6957, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.6958, allocations: 173.6 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6958, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.6959, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6959, allocations: 3.984 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.6959, allocations: 8 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6959, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6959, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.696, allocations: 89 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.6961, allocations: 88.95 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.6961, allocations: 3.984 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.6961, allocations: 0 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.6962, allocations: 8 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.6962, allocations: 4 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.6962, allocations: 95.27 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6962, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000215/0.6965, allocations: 20 kB / 1.029 GB, free: 10.5 MB / 0.7794 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.0001595/0.6966, allocations: 107.2 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.6969, allocations: 139.3 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6969, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.6969, allocations: 16.12 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.6972, allocations: 21.58 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.6975, allocations: 180.6 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.6978, allocations: 0.6965 MB / 1.03 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.6978, allocations: 7.438 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6978, allocations: 4 kB / 1.03 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.002875/0.7007, allocations: 1.155 MB / 1.031 GB, free: 8.125 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches