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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001648/0.001649, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.001763/0.001764, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.541/1.541, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001913/1.084, allocations: 0.7272 MB / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001479/1.085, allocations: 1.131 MB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/1.085, allocations: 0 / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/1.085, allocations: 11.92 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/1.085, allocations: 19.86 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/1.086, allocations: 130.8 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/1.086, allocations: 131.8 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/1.086, allocations: 12 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/1.086, allocations: 51.89 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/1.086, allocations: 39.83 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/1.086, allocations: 12 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/1.086, allocations: 27.98 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/1.086, allocations: 11.94 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/1.087, allocations: 47.83 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/1.087, allocations: 123.7 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.087, allocations: 4 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.332e-06/1.087, allocations: 0 / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.087, allocations: 0 / 1.17 GB, free: 1.355 MB / 0.8887 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.0005457/1.087, allocations: 398.7 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.087, allocations: 8.625 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/1.087, allocations: 4.938 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.088, allocations: 184.1 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/1.088, allocations: 12.38 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/1.088, allocations: 4.375 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.835e-05/1.088, allocations: 42.25 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.088, allocations: 192 / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.088, allocations: 7.875 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.088, allocations: 8 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/1.088, allocations: 11.98 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/1.088, allocations: 332.7 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/1.088, allocations: 30.52 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/1.088, allocations: 12.92 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/1.088, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/1.089, allocations: 63.39 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/1.089, allocations: 3.938 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000199/1.089, allocations: 81.61 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/1.089, allocations: 51.41 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.089, allocations: 125.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/1.089, allocations: 29.7 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/1.089, allocations: 96.11 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/1.089, allocations: 7.906 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/1.089, allocations: 33.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.089, allocations: 318.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/1.089, allocations: 35.98 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/1.09, allocations: 54.56 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/1.09, allocations: 96.2 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.09, allocations: 3.938 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002793/1.09, allocations: 159.2 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/1.09, allocations: 41.69 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.09, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.09, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/1.09, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.09, allocations: 4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/1.09, allocations: 31.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/1.09, allocations: 11.98 kB / 1.172 GB, free: 14.83 MB / 0.9044 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.0001161/1.09, allocations: 121.7 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/1.09, allocations: 7.906 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/1.091, allocations: 3.906 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.091, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.091, allocations: 7.938 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/1.091, allocations: 77.11 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/1.091, allocations: 8.047 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/1.091, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.091, allocations: 12.17 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001227/1.091, allocations: 137 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001776/1.091, allocations: 238.7 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.376e-05/1.091, allocations: 15.98 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.803e-05/1.091, allocations: 95.28 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Backend: time 2.91e-07/1.091, allocations: 4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005441/1.092, allocations: 205.8 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005767/1.092, allocations: 0.6068 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.00392/1.096, allocations: 1.388 MB / 1.175 GB, free: 11.82 MB / 0.9044 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