Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001491/0.001491, allocations: 112.2 kB / 16.42 MB, free: 6.512 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.001565/0.001565, allocations: 187.9 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 1.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.9651, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002307/0.9674, allocations: 1.177 MB / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003358/0.9708, allocations: 2.156 MB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.9709, allocations: 2.25 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.971, allocations: 21.28 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.9713, allocations: 103.1 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004435/0.9757, allocations: 1.397 MB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002595/0.9784, allocations: 1.301 MB / 1.095 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.9785, allocations: 18.03 kB / 1.095 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.9796, allocations: 477.2 kB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000957/0.9806, allocations: 449.4 kB / 1.096 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.9809, allocations: 109.9 kB / 1.096 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.9813, allocations: 114.9 kB / 1.096 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.9814, allocations: 59.84 kB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006414/0.9821, allocations: 387.2 kB / 1.096 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.9838, allocations: 0.9637 MB / 1.097 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9838, allocations: 1.656 kB / 1.097 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9838, allocations: 0 / 1.097 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.9838, allocations: 0 / 1.097 GB, free: 1.016 MB / 0.8575 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.001803/0.9856, allocations: 1.173 MB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/0.9857, allocations: 10.02 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.9861, allocations: 69.64 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.9865, allocations: 230.8 kB / 1.099 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.9866, allocations: 36.23 kB / 1.099 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.9868, allocations: 65.5 kB / 1.099 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.9872, allocations: 212.4 kB / 1.099 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.9872, allocations: 5.094 kB / 1.099 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.9873, allocations: 14.27 kB / 1.099 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.9873, allocations: 3 kB / 1.099 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.9875, allocations: 68.64 kB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.9889, allocations: 0.8398 MB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.9893, allocations: 329.8 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.9896, allocations: 139.2 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.9896, allocations: 7.188 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006703/0.9903, allocations: 470.5 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.454e-06/0.9903, allocations: 0 / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001152/0.9914, allocations: 0.5603 MB / 1.101 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/0.9917, allocations: 436.9 kB / 1.102 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.9921, allocations: 299.3 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.9922, allocations: 64.48 kB / 1.102 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.9924, allocations: 160.5 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.9926, allocations: 96.52 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.9932, allocations: 277.8 kB / 1.103 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9933, allocations: 348.9 kB / 1.103 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009919/0.9943, allocations: 424.1 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.9954, allocations: 0.7087 MB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.9967, allocations: 1.194 MB / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9967, allocations: 2.688 kB / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004241/1.001, allocations: 1.716 MB / 1.107 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004092/1.001, allocations: 488.2 kB / 1.107 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.001, allocations: 9.938 kB / 1.107 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/1.001, allocations: 17.53 kB / 1.107 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/1.002, allocations: 34.8 kB / 1.107 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/1.002, allocations: 18.55 kB / 1.107 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/1.005, allocations: 402.2 kB / 1.108 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/1.005, allocations: 104 kB / 1.108 GB, free: 9.43 MB / 0.8731 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.000541/1.006, allocations: 215.6 kB / 1.108 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.006, allocations: 58.28 kB / 1.108 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/1.006, allocations: 35.55 kB / 1.108 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.006, allocations: 6.016 kB / 1.108 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.006, allocations: 4.984 kB / 1.108 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.006, allocations: 115.3 kB / 1.108 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/1.006, allocations: 14.97 kB / 1.108 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.007, allocations: 13.42 kB / 1.108 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.007, allocations: 67.56 kB / 1.108 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001508/1.008, allocations: 1.556 MB / 1.11 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001676/1.01, allocations: 1.612 MB / 1.111 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003354/1.01, allocations: 167.6 kB / 1.112 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002784/1.011, allocations: 190.1 kB / 1.112 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of Backend: time 1.152e-06/1.011, allocations: 0 / 1.112 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005556/1.016, allocations: 1.728 MB / 1.113 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002197/1.018, allocations: 0.9951 MB / 1.114 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of Templates: time 0.02652/1.045, allocations: 12.04 MB / 1.126 GB, free: 3.121 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches