Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.002484/0.002484, allocations: 189.5 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 2.049/2.049, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.254/3.254, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.88 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.264, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.003726/1.267, allocations: 1.167 MB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004564/1.272, allocations: 2.172 MB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/1.272, allocations: 4 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.787e-05/1.272, allocations: 23.67 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004205/1.273, allocations: 87.2 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004153/1.277, allocations: 1.395 MB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002584/1.28, allocations: 1.295 MB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/1.28, allocations: 20.75 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/1.281, allocations: 487.2 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/1.282, allocations: 434.8 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004768/1.283, allocations: 104 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/1.283, allocations: 116 kB / 1.216 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/1.284, allocations: 63.77 kB / 1.216 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009685/1.285, allocations: 391 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/1.287, allocations: 0.964 MB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.287, allocations: 0 / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/1.287, allocations: 4 kB / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.878e-05/1.287, allocations: 4 kB / 1.217 GB, free: 4.926 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002748/1.289, allocations: 1.172 MB / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/1.289, allocations: 8.031 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004409/1.29, allocations: 64.64 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/1.29, allocations: 220.4 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/1.29, allocations: 36.36 kB / 1.218 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/1.291, allocations: 68.36 kB / 1.218 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/1.291, allocations: 218.8 kB / 1.219 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.291, allocations: 4.188 kB / 1.219 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/1.291, allocations: 15.92 kB / 1.219 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.291, allocations: 4 kB / 1.219 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/1.292, allocations: 67.72 kB / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/1.293, allocations: 0.8367 MB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/1.294, allocations: 331.2 kB / 1.22 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/1.294, allocations: 136.9 kB / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/1.294, allocations: 7.938 kB / 1.22 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/1.295, allocations: 462.9 kB / 1.22 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=45): time 4.298e-06/1.295, allocations: 0 / 1.22 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.001833/1.297, allocations: 0.5653 MB / 1.221 GB, free: 160 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/1.297, allocations: 431.2 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/1.298, allocations: 304.2 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/1.298, allocations: 65.7 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.298, allocations: 157.3 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.299, allocations: 102.8 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/1.299, allocations: 278 kB / 1.222 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002584/1.3, allocations: 354.7 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.301, allocations: 421.3 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.302, allocations: 0.7067 MB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.304, allocations: 1.191 MB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/1.304, allocations: 0 / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003807/1.308, allocations: 1.717 MB / 1.227 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004162/1.309, allocations: 495.7 kB / 1.227 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/1.309, allocations: 12.22 kB / 1.227 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/1.309, allocations: 12 kB / 1.227 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.309, allocations: 31.86 kB / 1.227 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.836e-05/1.309, allocations: 23.92 kB / 1.227 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/1.312, allocations: 403 kB / 1.227 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.312, allocations: 95.92 kB / 1.228 GB, free: 8.738 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0006621/1.313, allocations: 213.6 kB / 1.228 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/1.313, allocations: 51.45 kB / 1.228 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/1.313, allocations: 38.14 kB / 1.228 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.313, allocations: 4 kB / 1.228 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.313, allocations: 4 kB / 1.228 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/1.314, allocations: 116.6 kB / 1.228 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/1.314, allocations: 19.98 kB / 1.228 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/1.314, allocations: 12 kB / 1.228 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.314, allocations: 59.88 kB / 1.228 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001554/1.316, allocations: 1.557 MB / 1.23 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001613/1.317, allocations: 1.636 MB / 1.231 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004331/1.318, allocations: 167.8 kB / 1.231 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003089/1.318, allocations: 187.1 kB / 1.232 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of Backend: time 1.102e-06/1.318, allocations: 0 / 1.232 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00706/1.325, allocations: 1.731 MB / 1.233 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002768/1.328, allocations: 0.9843 MB / 1.234 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of Templates: time 0.03706/1.365, allocations: 12.44 MB / 1.246 GB, free: 5.395 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches