Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001524/0.001525, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001875/0.001876, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.63/2.63, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9774/0.9789, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002369/0.9813, allocations: 1.173 MB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.9842, allocations: 2.172 MB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.9844, allocations: 0 / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.819e-05/0.9845, allocations: 23.67 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.9848, allocations: 99.2 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.9883, allocations: 1.395 MB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.9901, allocations: 1.306 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.9902, allocations: 16.75 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008491/0.991, allocations: 487.2 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.9918, allocations: 426.9 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.9922, allocations: 108 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.9926, allocations: 120 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.052e-05/0.9927, allocations: 67.75 kB / 1.175 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006592/0.9934, allocations: 387 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.9946, allocations: 0.9627 MB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9947, allocations: 0 / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9947, allocations: 0 / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.9947, allocations: 0 / 1.176 GB, free: 11.19 MB / 0.9044 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.001837/0.9965, allocations: 1.176 MB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.9966, allocations: 12.92 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.9969, allocations: 68.75 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.9971, allocations: 224.5 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.9972, allocations: 40.36 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.9973, allocations: 72.3 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.9977, allocations: 213.7 kB / 1.178 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9977, allocations: 192 / 1.178 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.9977, allocations: 11.94 kB / 1.178 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.9977, allocations: 4 kB / 1.178 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.9978, allocations: 71.77 kB / 1.178 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.9988, allocations: 0.8445 MB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.9992, allocations: 327.2 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.9993, allocations: 136.9 kB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.9994, allocations: 8 kB / 1.179 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000651/1, allocations: 470.7 kB / 1.179 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 4.98e-06/1, allocations: 3.984 kB / 1.179 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.001077/1.001, allocations: 0.5582 MB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/1.001, allocations: 435.2 kB / 1.18 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/1.002, allocations: 296.4 kB / 1.181 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/1.002, allocations: 69.7 kB / 1.181 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/1.002, allocations: 161.3 kB / 1.181 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.002, allocations: 99.31 kB / 1.181 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005096/1.003, allocations: 278.1 kB / 1.181 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.003, allocations: 350.8 kB / 1.182 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/1.004, allocations: 425.3 kB / 1.182 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.005, allocations: 0.7028 MB / 1.183 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.006, allocations: 1.203 MB / 1.184 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.006, allocations: 4 kB / 1.184 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002916/1.009, allocations: 1.713 MB / 1.186 GB, free: 112 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/1.009, allocations: 489.4 kB / 1.186 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.009, allocations: 8 kB / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/1.01, allocations: 20 kB / 1.186 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/1.01, allocations: 27.86 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.01, allocations: 20.7 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.012, allocations: 415.1 kB / 1.186 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/1.012, allocations: 95.92 kB / 1.187 GB, free: 14.96 MB / 0.92 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.0004482/1.013, allocations: 217.6 kB / 1.187 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/1.013, allocations: 47.7 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/1.013, allocations: 34.14 kB / 1.187 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.013, allocations: 7.984 kB / 1.187 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.013, allocations: 4 kB / 1.187 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.013, allocations: 112.9 kB / 1.187 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/1.013, allocations: 15.98 kB / 1.187 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/1.014, allocations: 19.97 kB / 1.187 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.014, allocations: 67.81 kB / 1.187 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001761/1.016, allocations: 1.553 MB / 1.189 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00159/1.017, allocations: 1.633 MB / 1.19 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002896/1.017, allocations: 159.8 kB / 1.19 GB, free: 11.04 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002223/1.018, allocations: 195.1 kB / 1.19 GB, free: 10.85 MB / 0.92 GB Notification: Performance of Backend: time 1.062e-06/1.018, allocations: 0 / 1.19 GB, free: 10.85 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003675/1.021, allocations: 1.729 MB / 1.192 GB, free: 8.93 MB / 0.92 GB Notification: Performance of SimCode: time 0.001583/1.023, allocations: 0.9957 MB / 1.193 GB, free: 7.891 MB / 0.92 GB Notification: Performance of Templates: time 0.02048/1.043, allocations: 12.04 MB / 1.205 GB, free: 12.02 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches